public void ConvertToFizzBuzzTest_Abnromal(int val) { var fb = new FizzBuzzLib(); Assert.Throws <ArgumentOutOfRangeException>(() => { fb.ConvertToFizzBuzz(val); }); }
public void ConvertToFizzBuzzTest_Normal(int val, string expected) { var fb = new FizzBuzzLib(); Assert.Equal(expected, fb.ConvertToFizzBuzz(val)); }