public void VerifyGetMinArrayValue() { double[] doubleArray = { 2, 2, 3, 5, 18, 0, 33, 1.6, 33.3 }; //Assert.AreEqual(0, calc.GetMinArrayValue(doubleArray)); Assert.That(0, Is.LessThanOrEqualTo(calc.GetMinArrayValue(doubleArray))); }
public void VerifyGetMinArrayValue() { double[] doubleArray = { 2, 2, 3, 5, 18, 0, 33, 1.6, 33.3 }; //Assert.AreEqual(0, calc.GetMinArrayValue(doubleArray)); Assert.That(0, Is.LessThanOrEqualTo(calc.GetMinArrayValue(doubleArray))); }