public void TestMultiplication() { int result = Calculator.Multiplication(10, 5); Assert.AreEqual(2, result); result = Calculator.Multiplication(-11, -1); Assert.AreEqual(11, result); result = Calculator.Multiplication(0, 11); Assert.AreEqual(0, result); result = Calculator.Multiplication(5000, 50); Assert.AreEqual(100, result); }
public void MultiplicationTest5() { Assert.AreEqual(0, Calculator.Multiplication(0, 0)); }
public void MultiplicationTest3() { Assert.AreEqual(8, Calculator.Multiplication(-4, -2)); }
public void MultiplicationTest2() { Assert.AreEqual(-8, Calculator.Multiplication(-4, 2)); }
public void MultiplicationTest3() { int result = Calculator.Multiplication(0, 50); Assert.AreEqual(0, result); }
public void MultiplicationTest5() { int result = Calculator.Multiplication(1025, 3); Assert.AreEqual(3075, result); }
public void MultiplicationTest4() { int result = Calculator.Multiplication(-2, 10); Assert.AreEqual(-20, result); }