public void ThirdValueIsFizz() { // arrange var fizzBuzz = new FizzBuzz(); // act var values = fizzBuzz.Generate(); // assert Assert.AreEqual("Fizz", values.Skip(2).First()); }
public void SecondValueIsTwo() { // arrange var fizzBuzz = new FizzBuzz(); // act var values = fizzBuzz.Generate(); // assert Assert.AreEqual("2", values.Skip(1).First()); }
public void FirstValueIsOne() { // arrange var fizzBuzz = new FizzBuzz(); // act var values = fizzBuzz.Generate(); // assert Assert.AreEqual("1", values.First()); }
public void GenerateCorrectAmount() { // arrange var fizzBuzz = new FizzBuzz(); // act var values = fizzBuzz.Generate(100); // assert Assert.AreEqual(100, values.Count()); }
public void FifthValueIsBuzz() { // arrange var fizzBuzz = new FizzBuzz(); // act var values = fizzBuzz.Generate(); // assert Assert.AreEqual("Buzz", values.Skip(4).First()); }