From 6992f726e3648c889c893df9035a09bcfd6d13cc Mon Sep 17 00:00:00 2001 From: Quinn Gil Date: Fri, 3 Dec 2021 23:12:39 -0800 Subject: [PATCH] T Reset test to use 12 instead of 9 --- TddLikeYouMeanIt/FizzBuzzTests.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/TddLikeYouMeanIt/FizzBuzzTests.cs b/TddLikeYouMeanIt/FizzBuzzTests.cs index 3b71376..9163fff 100644 --- a/TddLikeYouMeanIt/FizzBuzzTests.cs +++ b/TddLikeYouMeanIt/FizzBuzzTests.cs @@ -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); @@ -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();