public void count_garbage_correctly(string input, int expectedCount) { var solver = new Day9Solver(); var actualCount = solver.CountUncancelledGarbage(input); Assert.AreEqual(expectedCount, actualCount); }
public void solve_examples_correctly(string input, int expectedScore) { var solver = new Day9Solver(); var answer = solver.ScoreGroups(input); Assert.AreEqual(expectedScore, answer); }