Родитель
ff784582b9
Коммит
3816d28b4e
|
@ -468,7 +468,7 @@ namespace NFUnitTestArithmetic
|
|||
}
|
||||
else
|
||||
{
|
||||
Assert.AreEqual(result, expectedResult, $"The expected result for '{formatString}' on value {valueStr} for type {value.GetType().Name} is '{expectedResult}'");
|
||||
Assert.AreEqual(expectedResult, result, $"The expected result for '{formatString}' on value {valueStr} for type {value.GetType().Name} is '{expectedResult}'");
|
||||
}
|
||||
|
||||
if (rowData != null)
|
||||
|
|
|
@ -2303,7 +2303,7 @@ namespace NFUnitTestSystemLib
|
|||
Assert.AreEqual(DateTime.Parse(dtOutput1).ToString(specifier1), dt.ToString(specifier1), $"DateTime.Parse '{dt}' failed");
|
||||
|
||||
Assert.IsTrue(DateTime.TryParse(dtOutput1, out DateTime result), $"DateTime.TryParse '{dt}' failed");
|
||||
Assert.AreEqual(result.ToString(specifier1), dt.ToString(specifier1), $"DateTime.TryParse '{dt}' returning wrong value: '{result}'");
|
||||
Assert.AreEqual(dt.ToString(specifier1), result.ToString(specifier1), $"DateTime.TryParse '{dt}' returning wrong value: '{result}'");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2324,7 +2324,7 @@ namespace NFUnitTestSystemLib
|
|||
Assert.AreEqual(DateTime.Parse(dtOutput1).ToString(specifier1), dt.ToString(specifier1), $"Parsing DateTime '{dt}' failed");
|
||||
|
||||
Assert.IsTrue(DateTime.TryParse(dtOutput1, out DateTime result), $"DateTime.TryParse '{dt}' failed");
|
||||
Assert.AreEqual(result.ToString(specifier1), dt.ToString(specifier1), $"DateTime.TryParse '{dt}' returning wrong value: '{result}'");
|
||||
Assert.AreEqual(dt.ToString(specifier1), result.ToString(specifier1), $"DateTime.TryParse '{dt}' returning wrong value: '{result}'");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2345,7 +2345,7 @@ namespace NFUnitTestSystemLib
|
|||
Assert.AreEqual(DateTime.Parse(dtOutput1).ToString(specifier1), dt.ToString(specifier1), $"Parsing DateTime '{dt}' failed");
|
||||
|
||||
Assert.IsTrue(DateTime.TryParse(dtOutput1, out DateTime result), $"DateTime.TryParse '{dt}' failed");
|
||||
Assert.AreEqual(result.ToString(specifier1), dt.ToString(specifier1), $"DateTime.TryParse '{dt}' returning wrong value: '{result}'");
|
||||
Assert.AreEqual(dt.ToString(specifier1), result.ToString(specifier1), $"DateTime.TryParse '{dt}' returning wrong value: '{result}'");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -346,7 +346,7 @@ namespace NFUnitTestSystemLib
|
|||
Assert.AreEqual(_uInt64[i], result);
|
||||
|
||||
result = ulong.Parse(strArr[i]);
|
||||
Assert.AreEqual(result, _uInt64[i]);
|
||||
Assert.AreEqual(_uInt64[i], result);
|
||||
}
|
||||
|
||||
//Int32: -2147483648 --> 2147483647
|
||||
|
|
Загрузка…
Ссылка в новой задаче