public void FizzBuzzTest(int input, string[] expected) { var actual = FizzBuzzUtil.GetFizzBuzzCollection(input).ToArray(); Assert.Equal(expected, actual); }
public void OutOfRangeTest(int input) { Assert.Throws <ArgumentOutOfRangeException>(() => FizzBuzzUtil.GetFizzBuzzCollection(input)); }