public void PartOne() { string type = "shiny gold"; var input = Helpers.FileHelper.ParseFile(InputFile); var handler = new BaggageHandler(input); int count = handler.CountBagsThatCanContain(type); Assert.IsTrue(count == 161); }
public void Test_KnownRules() { string testType = "shiny gold"; var input = Helpers.FileHelper.ParseFile(TestFile); var handler = new BaggageHandler(input); int count = handler.CountBagsThatCanContain(testType); Assert.IsTrue(count == 4); }