Exemple #1
0
        public void Test_Add_1_2_R_3()
        {
            Calcer c = new Calcer();
            var r = c.Add(1, 2);

            Assert.Equal(3, r, "1+2不等于3?");
        }
Exemple #2
0
        public void Test_Add_1_2_R_4()
        {
            Calcer c = new Calcer();
            var r = c.Add(1, 2);

            Assert.Equal(4, r, "1+2不等于4.fail");
        }