public void Method2Test_乎較時應回傳結果維10()
        {
            var Sut      = new EasyMethod();
            var expected = 10;

            var actual = Sut.Method2();

            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
        public void Method2Test_呼叫時應回傳結果為10()
        {
            //assert
            var Sut      = new EasyMethod();
            var expected = 10;

            //arrange
            var actual = Sut.Method2();

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