public void GetInstructionDictionary(string input, string expectedKey, string expectedValue) { var day7 = new Day7(); var output = day7.GetInstructionDictionary(new List <string>() { input }); Assert.Contains(output, x => x.Key == expectedKey && x.Value == expectedValue); }