Skip to content

Commit

Permalink
T Reset test to use 12 instead of 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyzxs committed Dec 4, 2021
1 parent 6415c1d commit 6992f72
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions TddLikeYouMeanIt/FizzBuzzTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ public void GivenInput6ReturnsFizz()
}

[TestMethod]
public void GivenInput9ReturnsFizz()
public void GivenInput12ReturnsFizz()
{
//ARRANGE
string expected = "Fizz";
int sourceInput = 3 * 3;
int sourceInput = 4 * 3;

//ACT
string actual = Transform(sourceInput);
Expand All @@ -76,7 +76,6 @@ public void GivenInput9ReturnsFizz()

public string Transform(int source)
{
if (source == 3 * 3) return "Fizz";
if (source == 2 * 3) return "Fizz";
if (source == 1 * 3) return "Fizz";
return source.ToString();
Expand Down

0 comments on commit 6992f72

Please sign in to comment.