public void LookAndSee(string input, string expected) { var day10 = new Day10(); var actual = day10.LookAndSay(input); Assert.Equal(expected, actual); }
public void LookAndSeeMultiple(string input, int repetitions, string expected) { var day10 = new Day10(); var actual = day10.LookAndSay(input, repetitions); Assert.Equal(expected, actual); }
public void LookAndSayActualPart2() { const int TotalRibbon = 6989950; var day10 = new Day10(); var actual = day10.LookAndSay("1321131112", 50); Assert.Equal(TotalRibbon, actual.Length); }
public void LookAndSayActual() { const int TotalRibbon = 492982; var day10 = new Day10(); var actual = day10.LookAndSay("1321131112", 40); Assert.Equal(TotalRibbon, actual.Length); }
public void Samples(string input, string expected) { Assert.AreEqual(expected, _day10.LookAndSay(input)); }
public void LookAndSayTest(string input, string expected) { var actual = day10.LookAndSay(input); Assert.AreEqual(expected, actual); }
public void S111221Returns312211() { Assert.AreEqual("312211", Day10.LookAndSay("111221")); }
public void S21Returns1211() { Assert.AreEqual("1211", Day10.LookAndSay("21")); }
public void S11Returns21() { Assert.AreEqual("21", Day10.LookAndSay("11")); }