public void FizzBuzzShouldWork(int num, string expected) { var runner = new DoFizzBuzz(); var answer = runner.GetFizzBuzz(num); answer.Should().Be(expected); }
public void TwoShouldBeReturned() { var runner = new DoFizzBuzz(); var answer = runner.GetFizzBuzz(2); answer.Should().Be("2"); }
public void OneShouldBeReturned() { var runner = new DoFizzBuzz(); var answer = runner.GetFizzBuzz(1); answer.Should().Be("1"); }