首页>代码>android studio首次demo案例>/work/app/src/test/java/com/example/administrator/myapplication/ExampleUnitTest.java
package com.example.administrator.myapplication; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void addition_isCorrect() { assertEquals(4, 2 + 2); } }
