public void FirstElementIsThreeAndIsReplaced() { List <string> data = new List <string>() { "3" }; var swapper = new ThreeSwapper(); var result = swapper.swap(data); Assert.IsTrue(result.First() == "Fizz"); }
public void OneElementDivisibleOneIsNot() { List <string> data = new List <string>() { "3", "4" }; var swapper = new ThreeSwapper(); var result = swapper.swap(data); Assert.IsTrue(result[0] == "Fizz" && result[1] == "4"); }