Created
February 12, 2016 20:59
-
-
Save IEvangelist/86db0f47c57446f7b72c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
namespace IEvangelist.CSharper.CalculatorTests | |
{ | |
public abstract class ClassTestData : IEnumerable<object[]> | |
{ | |
/// <summary>Container for known test data.</summary> | |
protected abstract List<object[]> TestData { get; } | |
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); | |
public IEnumerator<object[]> GetEnumerator() => TestData.GetEnumerator(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment