Example #1
0
 private IEnumerable <TestCase> GetTestCases(bool valid)
 {
     return(TestSuite.Load(FileName).SelectMany(x => x.TestCases).Where(x => x.IsInvalid == !valid));
 }
Example #2
0
 private static IEnumerable <TestCase> GetTestCases(string fileName, bool valid)
 {
     return(TestSuite.Load(fileName).SelectMany(x => x.TestCases).Where(x => x.IsInvalid == !valid));
 }