Exemple #1
0
        public void SumTestMethod()
        {
            Demo.Maths first = new Demo.Maths(1, 2);
            int        temp  = first.suMem();

            Assert.AreEqual(3, temp);
        }
Exemple #2
0
 public void SumsTestMethod(int a, int b, int c)
 {
     Demo.Maths example = new Demo.Maths(a, b);
     Assert.AreEqual(c, example.suMem());
 }