public void TestEqualsWhenSecondNumberGreaterThanFirstOneButDifferenceLowerThan002() { Assert.IsTrue(AmountComparer.Equals(1567.1234m, 1567.1238m)); }
public void TestEqualsWhenFirstNumberGreaterThanSecondOneButDifferenceLowerThan002() { Assert.IsTrue(AmountComparer.Equals(243.001m, 243.02m)); }
public void TestEqualsWhenFirstNumberGreaterThanSecondOne() { Assert.IsFalse(AmountComparer.Equals(243m, 242.97m)); }
public void TestEqualsWhenSecondNumberGreaterThanFirstOne() { Assert.IsFalse(AmountComparer.Equals(242.974321m, 243.0001m)); }
public void TestEqualsWhenThe2NumbersAreReallyEquals() { Assert.IsTrue(AmountComparer.Equals(123.3456m, 123.3456m)); }