public void Part2Test(string path, int result) { var colorAsked = "shiny gold"; var rules = mainProgram.ConvertFileToLines(path); Assert.AreEqual(result, Day7.GetCountOfBagsNeeded(rules, colorAsked)); }
public void Part2Test(string path, int result) { var colorAsked = "shiny gold"; var rules = mainProgram.ConvertFileToLines(path); Assert.AreEqual(result, Day7.GetCountOfBagsNeeded(rules, colorAsked)); }