private static void Main(string[] args) { var result1 = Puzzle06.CountTask1(PuzzleInput.ToPuzzle6Input()); var result2 = Puzzle06.CountTask2(PuzzleInput.ToPuzzle6Input()); Console.WriteLine($"Count task 1: {result1}"); Console.WriteLine($"Count task 2: {result2}"); }
public void Task1_Count() { var stringInput = @"abc a b c ab ac a a a a b"; var maxId = Puzzle06.CountTask1(stringInput.ToPuzzle6Input()); Assert.Equal(11, maxId); }