public void CoverTheory(int initialValue, int addition, int expectedValue)
 {
     var calculator = new Calculator(initialValue);
     var result = calculator.Add(addition);
     Assert.Equal(expectedValue, result);
 }
 public void CoverConstructor()
 {
     var calculator = new Calculator(23);
     Assert.NotNull(calculator);
 }
 public void CoverDivision()
 {
     var calculator = new Calculator(88);
     var result = calculator.Divide(2);
     Assert.Equal(44, result);
 }
 public void CoverMultiplication()
 {
     var calculator = new Calculator(53);
     var result = calculator.Multiply(2);
     Assert.Equal(106, result);
 }
 public void CoverSubtraction()
 {
     var calculator = new Calculator(33);
     var result = calculator.Subtract(5);
     Assert.Equal(28, result);
 }
 public void CoverAddition()
 {
     var calculator = new Calculator(23);
     var result = calculator.Add(2);
     Assert.Equal(25, result);
 }