diff --git a/app/src/test/java/test/shangyu/cn/myapplication/ExampleUnitTest.java b/app/src/test/java/test/shangyu/cn/myapplication/ExampleUnitTest.java new file mode 100644 index 0000000..2f848e6 --- /dev/null +++ b/app/src/test/java/test/shangyu/cn/myapplication/ExampleUnitTest.java @@ -0,0 +1,17 @@ +package test.shangyu.cn.myapplication; + +import org.junit.Test; + +import static org.junit.Assert.*; + +/** + * Example local unit test, which will execute on the development machine (host). + * + * @see Testing documentation + */ +public class ExampleUnitTest { + @Test + public void addition_isCorrect() throws Exception { + assertEquals(4, 2 + 2); + } +} \ No newline at end of file