LibreCoder 2023-06-08 16:19:21 博主文章分类:java ©著作权 文章标签 java 测试 反射 注解 Junit 文章分类 HarmonyOS 后端开发 ©著作权归作者所有:来自51CTO博客作者LibreCoder的原创作品,请联系作者获取转载授权,否则将追究法律责任 Junit 单元测试 public class Caltest { public static void main(String[] args) { Cal c = new Cal(); int ans = c.add(1,2); System.out.println(ans); } } package itcast.junit.Test; import itcast.junit.Cal; import org.junit.Assert; import org.junit.Test; public class CalTest { @Test public void testAdd(){ System.out.println("我被执行了"); Cal c = new Cal();...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with package
Contact package, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack