public void IntMaxMinusOneTest() { FizzBuzzEnumerable fb = new FizzBuzzEnumerable(Int32.MaxValue-1, config); Assert.IsNotNull(fb); string retval = ""; foreach (var result in fb) { retval = result; } Console.WriteLine(retval); }
public void FizzBuzzFor15Test() { FizzBuzzEnumerable fb = new FizzBuzzEnumerable(15, config); Assert.IsNotNull(fb); string retval = ""; foreach (var result in fb) { retval = result; } Assert.AreEqual("Fizz Buzz", retval); }
public void IntMaxMinusOneTest() { FizzBuzzEnumerable fb = new FizzBuzzEnumerable(Int32.MaxValue - 1, config); Assert.IsNotNull(fb); string retval = ""; foreach (var result in fb) { retval = result; } Console.WriteLine(retval); }
public void ConstructorTest() { FizzBuzzEnumerable fb = new FizzBuzzEnumerable(16,config); Assert.IsNotNull(fb); }
public void ConstructorTest() { FizzBuzzEnumerable fb = new FizzBuzzEnumerable(16, config); Assert.IsNotNull(fb); }