public void addition() { Maths addition = new Maths(5, "+", 5); Assert.AreEqual(addition.Answer(), 10); }
public void isNum() { Maths addition = new Maths(1, "+", 1); Assert.IsInstanceOfType(addition.Answer(), typeof(int)); }
public void multiplicion() { Maths addition = new Maths(5, "*", 5); Assert.AreEqual(addition.Answer(), 25); }
public void division() { Maths addition = new Maths(5, "/", 5); Assert.AreEqual(addition.Answer(), 1); }
public void subtraction() { Maths addition = new Maths(5, "-", 5); Assert.AreEqual(addition.Answer(), 0); }