コード例 #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));
 }