Skip to content

Instantly share code, notes, and snippets.

@Aidan128
Last active December 12, 2021 17:11
Show Gist options
  • Save Aidan128/4083eb1dfe313d78525029459b733d2e to your computer and use it in GitHub Desktop.
Save Aidan128/4083eb1dfe313d78525029459b733d2e to your computer and use it in GitHub Desktop.
Tests for library module
@RunWith(AndroidJUnit4::class)
class LibraryTests {
@Test
fun basicTests() {
assertEquals(4, LibraryJavaClass().function1())
assertEquals(4, LibraryKotlinClass().function1())
}
@Test
fun basicTests2() {
assertEquals(6, LibraryJavaClass().function2())
assertEquals(6, LibraryKotlinClass().function2())
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment