-
-
Save Aidan128/59b44fcca2e43b0313db41f9674dd120 to your computer and use it in GitHub Desktop.
Code coverage tests (extended)
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 Tests { | |
@Test | |
fun basicTests() { | |
assertEquals(4, JavaClass().function1()) | |
assertEquals(4, KotlinClass().function1()) | |
} | |
@Test | |
fun basicTests2() { | |
assertEquals(6, JavaClass().function2()) | |
assertEquals(6, KotlinClass().function2()) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment