public void CalcualtorProtectedSmallNumber_Test() { // Arrange var valueSent = "1,2"; CalculatorCompleted calCom = new CalculatorCompleted(); PrivateObject cal1 = new PrivateObject(calCom); var returned = cal1.Invoke("CalculatorPrivate", valueSent); Assert.AreEqual(3, returned); // this.CalculatorTest(3, valueSent); }
public Class1() { cal = new CalculatorCompleted(); }
public void Setup() { this.cal = new CalculatorCompleted(); }
public CalculatorCompletedxUnitTest() { this.cal = new CalculatorCompleted(); }