public void IntroductoryTest( int expectedNumber, MyClass sut) { // Arrange // Act int result = sut.Echo(expectedNumber); // Assert Assert.Equal(expectedNumber, result); }
public void IntroductoryTest( int expectedNumber, MyClass sut) { // Fixture setup // Exercise system int result = sut.Echo(expectedNumber); // Verify outcome Assert.Equal(expectedNumber, result); // Teardown }