public void Lab_42_TestMe_Test02(int a, int b, int c, double expected)
        {
            // arrange
            var instance = new TestMe();

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

            // assert
            Assert.AreEqual(expected, actual);
        }
        public void Lab_42_TestMe_Test01()
        {
            // arrange
            var instance = new TestMe();
            var expected = 53.0;

            // act
            var actual = instance.BIDMAS01(50, 30, 10);

            // assert
            Assert.AreEqual(expected, actual);
        }
示例#3
0
        public void Lab_42_TestMe_Test01()

        {

� � � � � � // arrange

� � � � � � var instance = new TestMe();

            var expected = 53.0;





            // act

            var actual = instance.BIDMAS01(50, 30, 10); Test1()
        {

        }
    }