标签:
import android.test.AndroidTestCase;
public class TestCase extends AndroidTestCase {
public void test() {
int result = MathUtils.incrment(9, 9);
assertEquals(18, result);
}
}
例:
public class Text extends AndroidTestCase {
public void test(){
System.out.println("我要开始测试了");
int result =MathUtils.incrment(9, 10);
assertEquals(18,result);
}
}
标签:
原文地址:http://www.cnblogs.com/candledragle/p/4197927.html