Lost the 'bool' in 'bool double' in Numerics.AreEqual (#12)
This commit is contained in:
Родитель
0ae60f9036
Коммит
54f5999343
|
@ -100,7 +100,7 @@ namespace NUnit.Framework.Constraints
|
|||
/// <returns>True if the values are equal</returns>
|
||||
public static bool AreEqual(object expected, object actual, ref Tolerance tolerance)
|
||||
{
|
||||
_double = (expected is double || actual is double);
|
||||
bool _double = (expected is double || actual is double);
|
||||
if (!_double && (IntPtr.Size == 8))
|
||||
_double = (expected.GetType () == nfloatType || actual.GetType () == nfloatType);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче