标签: JUnit使用断言

后浪云JUint教程:JUnit - 使用断言

断言 所有的断言都包含在 Assert 类中 public class Assert extends java.lang.Object 这个类提供了很多有用的断言方法来编写测试用例。只有失败的断言才会被……