public void Multiply_When_0_x_56789_Then_0() { VeryLong number1 = new VeryLong("0"); VeryLong number2 = new VeryLong("56789"); VeryLong sum = number1.Multiply(number2); Assert.AreEqual("0", sum.ToString()); }
public void Multiply_When_10_x_2_Then_20() { VeryLong number1 = new VeryLong("10"); VeryLong number2 = new VeryLong("2"); VeryLong sum = number1.Multiply(number2); Assert.AreEqual("20", sum.ToString()); }
public void Multiply_When_1234_x_56789_Then_70077626() { VeryLong number1 = new VeryLong("1234"); VeryLong number2 = new VeryLong("56789"); VeryLong sum = number1.Multiply(number2); Assert.AreEqual("70077626", sum.ToString()); }
public void Multiply_When_9_x_99_Then_891() { VeryLong number1 = new VeryLong("9"); VeryLong number2 = new VeryLong("99"); VeryLong sum = number1.Multiply(number2); Assert.AreEqual("891", sum.ToString()); }
public void Multiply_When_7_x_81_Then_567() { VeryLong number1 = new VeryLong("7"); VeryLong number2 = new VeryLong("81"); VeryLong sum = number1.Multiply(number2); Assert.AreEqual("567", sum.ToString()); }
public void Multiply_When_7_x_12_Then_84() { VeryLong number1 = new VeryLong("7"); VeryLong number2 = new VeryLong("12"); VeryLong sum = number1.Multiply(number2); Assert.AreEqual("84", sum.ToString()); }
public void Multiply_When_0_1_x_0_9_Then_0_09() { VeryLong number1 = new VeryLong("0.1"); VeryLong number2 = new VeryLong("0.9"); VeryLong sum = number1.Multiply(number2); Assert.AreEqual("0.09", sum.ToString()); }
public void Multiply_When_1_x_1_Then_1() { VeryLong number1 = new VeryLong("1"); VeryLong number2 = new VeryLong("1"); VeryLong sum = number1.Multiply(number2); Assert.AreEqual("1", sum.ToString()); }