hardAssert 硬断言 里面有多个静态方法
softAssert 软断言 需要创建实例对象 才能调用相关实例方法
actul 当前 expected 预期
message1 作为标签 可以辅助理解
Assert.assertEquals(actul,expected)
Assert.assertEquals(actul,expected,"message1")
assert.assertEqualsNoOrder(actul,expected)
string[] st1 = {"a","b","c"};
string[] st2 = {"b","c"."a"};
assert.assertEqualsNoOrder(st1,st2,两个字符串数组不相同)
//忽略排序为位置 比对字符串组
assertFalse(布尔条件,"message1")
string[] st1 = {"a","b","c"};
string[] st2 = {"b","c"."a"};
assert.assertEqualsFalse(st1 =&#