Example #1
0
        public void SubtractTest()
        {
            SimpleMath.MathsHelper helper = new SimpleMath.MathsHelper();
            int result = helper.Subtract(20, 10);

            Assert.AreEqual(10, result);
        }
Example #2
0
        public void AddTest()
        {
            SimpleMath.MathsHelper helper = new SimpleMath.MathsHelper();
            int result = helper.Add(20, 10);

            Assert.AreEqual(30, result);
        }
Example #3
0
 public void SubtractTest()
 {
     SimpleMath.MathsHelper helper = new SimpleMath.MathsHelper();
     int result = helper.Subtract(20, 10);
     Assert.AreEqual(10, result);
 }
Example #4
0
 public void AddTest()
 {
     SimpleMath.MathsHelper helper = new SimpleMath.MathsHelper();
     int result = helper.Add(20, 10);
     Assert.AreEqual(30, result);
 }