Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save es-repo/ad4c5af4e49f6c11d507ef65c80081e8 to your computer and use it in GitHub Desktop.
Save es-repo/ad4c5af4e49f6c11d507ef65c80081e8 to your computer and use it in GitHub Desktop.
better-unit-test-in-c#-article-FillBoxTest-TestCases-layout.cs
sealed class TestCases : IEnumerable<object[]>
{
public IEnumerator<object[]> GetEnumerator()
{
yield return BoxAndLabelsAndThings_OpenBoxThenPutThingInsideThenCloseBoxAndWriteLogs_ThingsWithLabelEndedWithIgnoreExpected_1();
}
static object[] BoxAndLabelsAndThings_OpenBoxThenPutThingInsideThenCloseBoxAndWriteLogs_ThingsWithLabelEndedWithIgnoreExpected_1()
{
...
}
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment