//Test to check if the test data contains any student that has all 4 credits; public void TestHasCredits() { var credits = new List <Tuple <bool, Student> >(); foreach (var student in students) { credits.Add(tracker.HasCredit(diploma, student)); } Assert.IsTrue(credits.Any(x => x.Item1 == true)); }