示例#1
0
 public double Calculate_CorrectDataForDeduction(double operator1, double operator2)
 {
     //Arrange
     //Act
     return(Calculator.Calculate(operator1, operator2, OperationType.Minus));
 }
示例#2
0
 public double Calculate_CorrectDataForMultiply(double operator1, double operator2)
 {
     //Arrange
     //Act
     return(Calculator.Calculate(operator1, operator2, OperationType.Multiply));
 }
示例#3
0
        public void Calculate_MultiplesEvalCorrectly(string equation, string expected)
        {
            var actual = Calculator.Calculate(equation);

            Assert.AreEqual(expected, actual);
        }