public void GenerateTest_Abnormal(int val) { var fb = new FizzBuzzLib(); Assert.Throws <ArgumentOutOfRangeException>(() => { fb.Generate(val); }); }
public void GenerateTest_Normal(int val, string expected) { var fb = new FizzBuzzLib(); Assert.Equal(expected, fb.Generate(val)); }
public string FizzBuzzLib_Generate() { var fb = new FizzBuzzLib(); return(fb.Generate(Val)); }