Skip to content

Instantly share code, notes, and snippets.

@asilichenko
asilichenko / ExampleUnitTest.java
Last active September 9, 2023 11:58
JUnit5 Jupiter unit and parametrized tests example
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import java.util.stream.Stream;
/**
@asilichenko
asilichenko / gist:56346131a1e977112c406aafda95f513
Last active August 3, 2023 05:30 — forked from sunmeat/gist:e579076368145450d8e0d2a269428541
nice example for google street view android
activity_maps.xml:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:map="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<fragment