Ejemplo n.º 1
0
        public void StartValueOne()
        {
            var calculation = new CalculationMultiply();

            calculation.calculate();

            Assert.That(calculation.Answer, Is.EqualTo("1"));
        }
Ejemplo n.º 2
0
        public void MultiplyCalculate()
        {
            var calculation = new CalculationMultiply();
            calculation.AddValue("10");
            calculation.AddValue("18");

            calculation.calculate();

            Assert.That(calculation.Answer, Is.EqualTo("180"));
        }