-
-
Save Aidan128/4083eb1dfe313d78525029459b733d2e to your computer and use it in GitHub Desktop.
Tests for library module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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