Exemple #1
0
        public void Add()
        {
            MyMath math = new MyMath();

            Assert.AreEqual(31, math.Add(20, 11));
        }
Exemple #2
0
        public void Sub()
        {
            MyMath math = new MyMath();

            Assert.AreEqual(10, math.Sub(20, 10));
        }
Exemple #3
0
 public void Setup()
 {
     myMath = new MyMath();
 }