public void Test_Input_Empty() { string input = ""; var letterCombined = Letters.Combiner(input); Assert.AreEqual(letterCombined.Count, 0); }
public void Test_Input_234() { string input = "234"; var letterCombined = Letters.Combiner(input); var desiredCombination = new List <string>() { "ad", "ae", "af", "bd", "be", "bf", "cd", "ce", "cf", "dg", "dh", "di", "eg", "eh", "ei", "fg", "fh", "fi" }; desiredCombination.Should().BeEquivalentTo(letterCombined); }
public void Test_Input_2() { string input = "2"; var letterCombined = Letters.Combiner(input); var desiredCombination = new List <string>() { "a", "b", "c" }; desiredCombination.Should().BeEquivalentTo(letterCombined); }