Esempio n. 1
0
        public void MultipleTest()
        {
            //arrange
            Calculator calc = new Calculator();
            int number = 5;
            int number2 = 7;
            int expected = 35;

            //Act
            int actualy = calc.Multiple(number, number2);

            //Assert
            Assert.AreEqual(expected, actualy);
        }
        public void MultipleTest()
        {
            // arrange
            Calculator calc = new Calculator();
            int number1 = 5;
            int number2 = 7;
            int excepted = 35;

            // act
            int actual = calc.Multiple(number1, number2);

            // assert
            Assert.AreEqual(excepted, actual);
        }