Beispiel #1
0
        public void mulNegativeTestMethod()
        {
            double number  = -8;
            double number2 = 4;

            Calculator.Program p = new Calculator.Program();
            Assert.AreEqual(-32, p.mul(number, number2));
        }
Beispiel #2
0
        public void mulTestMethod()
        {
            Calculator.Program p       = new Calculator.Program();
            double             number  = 8;
            double             number2 = 4;

            Assert.AreEqual(32, p.mul(number, number2));
        }