Junit测试相关 Junit3.8Junit3.8中,测试Case必须继承TestCase使用TestCase对类进行测试public void testDevide(){ int result; try { result = cal.divide(15, 4); Assert.assertEquals(3, result); } catch (Exception e) { e.... Other 2024-07-11 38 点赞 0 评论 57 浏览