public void Subtract_When_200_201_Then_minus1() { VeryLong number1 = new VeryLong("200"); VeryLong number2 = new VeryLong("201"); Assert.AreEqual("-1", number1.Subtract(number2).ToString()); }
public void Subtract_WhenMinuendOrSubtrahendHaveDecimalPoint_ThenResultAlsoDecimalPoint3() { VeryLong number1 = new VeryLong("2"); VeryLong number2 = new VeryLong("1.001"); Assert.AreEqual("0.999", number1.Subtract(number2).ToString()); }
public void Subtract_When_200_1_Then_199() { VeryLong number1 = new VeryLong("200"); VeryLong number2 = new VeryLong("1"); Assert.AreEqual("199", number1.Subtract(number2).ToString()); }