示例#1
0
        public void subNegativeTestMethod()
        {
            double number  = -2;
            double number2 = -4;

            Calculator.Program p = new Calculator.Program();
            Assert.AreEqual(2, p.sub(number, number2));
        }
示例#2
0
        public void subTestMethod()
        {
            double number  = 8;
            double number2 = 4;

            Calculator.Program p = new Calculator.Program();
            Assert.AreEqual(4, p.sub(number, number2));
        }