public void ShouldReturnFizzForModThree() { // arrange FizzBuzz1 fizzBuzz1 = new FizzBuzz1(); // act string actual = fizzBuzz1.Evaluate(3); // assert actual.Should().Be("fizz"); }
public void ShouldReturnNumberAsString() { // arrange FizzBuzz1 fizzBuzz1 = new FizzBuzz1(); const int expected = 1; // act string actual = fizzBuzz1.Evaluate(expected); // assert actual.Should().Be(expected.ToString()); }