Exemplo n.º 1
0
        public void SubtractShouldReturnTheCalculatorInstance()
        {
            Calculator calculator2 = calculator.Subtract(four);

            Assert.AreSame(calculator, calculator2);
        }
Exemplo n.º 2
0
        public void DivideShouldReturnTheCalculatorInstance()
        {
            Calculator calculator2 = calculator.Divide(seven);

            Assert.AreSame(calculator, calculator2);
        }
Exemplo n.º 3
0
        public void ResetShouldReturnTheCalculatorInstance()
        {
            Calculator calculator2 = calculator.Reset();

            Assert.AreSame(calculator, calculator2);
        }