Skip to content

Instantly share code, notes, and snippets.

@kaeawc
Created June 14, 2020 03:30
Show Gist options
  • Save kaeawc/95ab30be5698bb3ec5b2c0444e2c4da7 to your computer and use it in GitHub Desktop.
Save kaeawc/95ab30be5698bb3ec5b2c0444e2c4da7 to your computer and use it in GitHub Desktop.
The example test file that Android Studio creates
package dev.jasonpearson.testing
import org.junit.Test
import org.junit.Assert.*
/**
* Example local unit test, which will execute on the development machine (host).
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
class ExampleUnitTest {
@Test
fun addition_isCorrect() {
assertEquals(4, 2 + 2)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment