示例#1
0
 protected void AssertHasBit(int value, int bit)
 {
     TestAssert.AssertTrue((value & bit) == bit);
 }
示例#2
0
 protected void AssertNotSame(object value, object expect, string msg = null)
 {
     TestAssert.AssertNotSame(value, expect, msg);
 }
示例#3
0
 protected void AssertEquals(object value, object expect, string msg = null)
 {
     TestAssert.AssertEquals(value, expect, msg);
 }
示例#4
0
 protected void AssertApproximatelySame(object value, object expect, string msg = null)
 {
     TestAssert.AssertApproximatelySame(value, expect, msg);
 }
示例#5
0
 protected void AssertFalse(bool value, string msg = null)
 {
     TestAssert.AssertTrue(!value, msg);
 }