Exemple #1
0
        public void Lab_42_TestME_Test02(int a, int b, int c, double expected)
        {
            // arrange
            var instance01 = new Testme2();

            // act
            var actual = instance01.BIDMAS01(a, b, c);

            // assert
            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
        public void Lab_42_TestME_Test01()
        {
            // arrange
            var instance01 = new Testme2();
            var expected   = 14;

            // act
            var actual = instance01.BIDMAS01(10, 20, 5);

            // assert
            Assert.AreEqual(expected, actual);
        }
Exemple #3
0
        public void Lab_42_TestME_Test012()
        {
            // arrange
            var instance02 = new Testme2();
            var expected2  = 53;

            // act
            var actual2 = instance02.BIDMAS01(50, 30, 10);

            // assert
            Assert.AreEqual(expected2, actual2);
        }