Пример #1
0
        public void Multiply_CorrectInputs_ReturnsWrongResult() // zła wartość dla mnożenia
        {
            double number1 = 5;
            double number2 = 3;

            double result = Kalkulator.Multiply(number1, number2);

            Assert.AreNotEqual(30, result);
        }
Пример #2
0
        public void Multiply_CorrectInputs_ReturnsCorrectResult() // poprawna wartość dla mnożenia
        {
            double number1 = 5;
            double number2 = 3;

            double result = Kalkulator.Multiply(number1, number2);

            Assert.AreEqual(15, result);
        }