public void Lab_42_TestMe_Test02(int a, int b, int c, double expected2)
        {
            var instance02 = new testme();
            //var expected2 = 14.0;
            var actual2 = instance02.BIDMAS01(a, b, c);

            Assert.AreEqual(expected2, actual2);
        }
Beispiel #2
0
        public void Lab_42_TestMe_Test02()
        {
            //Test2
            var instance02 = new testme();
            var expected2  = 53.0;
            var actual2    = instance02.BIDMAS01(50, 30, 10);

            Assert.AreEqual(expected2, actual2);
        }
Beispiel #3
0
        public void Lab_42_TestMe_Test01()
        {
//test1    //arrange
            var instance01 = new testme(); // testme has to be public class in it's own file.
            var expected   = 14.0;
            //act
            var actual = instance01.BIDMAS01(10, 20, 5);

            //assert
            Assert.AreEqual(expected, actual);
        }