示例#1
0
 public static void AreEqual(string expected, string actual, bool ignoreCase, string message)
 {
     if (ignoreCase)
     {
         toMSException(() => NUnitAssert.AreEqual(expected.ToLower(), actual.ToLower(), message));
     }
     else
     {
         toMSException(() => NUnitAssert.AreEqual(expected, actual, message));
     }
 }
示例#2
0
 public static void AreEqual(string expected, string actual, bool ignoreCase, CultureInfo culture)
 {
     if (ignoreCase)
     {
         toMSException(() => NUnitAssert.AreEqual(expected.ToLower(), actual.ToLower()));
     }
     else
     {
         toMSException(() => NUnitAssert.AreEqual(expected, actual));
     }
 }
示例#3
0
 public static void AreEqual(float expected, float actual, float delta, string message, params object[] parameters)
 {
     toMSException(() => NUnitAssert.AreEqual(expected, actual, delta, message, parameters));
 }
示例#4
0
 public static void AreEqual <T>(T expected, T actual, string message, params object[] parameters)
 {
     toMSException(() => NUnitAssert.AreEqual(expected, actual, message, parameters));
 }
示例#5
0
 public static void AreEqual(object expected, object actual)
 {
     toMSException(() => NUnitAssert.AreEqual(expected, actual));
 }
示例#6
0
 public static void AreEqual(float expected, float actual, float delta, string message)
 {
     toMSException(() => NUnitAssert.AreEqual(expected, actual, delta, message));
 }
示例#7
0
 public static void AreEqual(double expected, double actual, double delta, string message)
 {
     toMSException(() => NUnitAssert.AreEqual(expected, actual, delta, message));
 }
示例#8
0
 public static void AreEqual <T>(T expected, T actual, string message)
 {
     toMSException(() => NUnitAssert.AreEqual(expected, actual, message));
 }
示例#9
0
 public static void AreEqual <T>(T expected, T actual)
 {
     toMSException(() => NUnitAssert.AreEqual(expected, actual));
 }