public void TestAdd0ToTTCReturns0() { // Arrange TestThisClass ttc = new TestThisClass(new Adder1For1()); // Act // Assert Assert.AreEqual(0, ttc.GetNumer); }
public void TestAdd1ToTTCReturns2() { // Arrange TestThisClass ttc = new TestThisClass(new Adder1For2()); // Act ttc.AddNumber(1); // Assert Assert.AreEqual(2, ttc.GetNumer); }