public void TestAddStuff() { // Yep, this compiles and runs fine. var result = SelfTestingClass.AddStuff(3, 2); Assert.That(result, Is.EqualTo(5)); }
public void TestDivideStuff() { var typeUnderTest = new SelfTestingClass(); // Yep, this also compiles. var result = typeUnderTest.DivideStuff(10, 2); Assert.That(result, Is.EqualTo(5)); }