+tested = [c for c in cases if c['status'] == 'pass']
+if slice4:
+ positives = [c for c in tested if c['category'] == 'valid']
+ assert len(positives) == (39 if slice7 else 33 if slice6 else 28 if slice5 else 24) and all(c['actualOutcome'] == 'cxtm-match' for c in positives)
+untested = [c for c in cases if c not in tested]
+assert all(c['status'] == 'not-run' and c['actualOutcome'] is None and c['diagnostics'] == [] for c in untested)
+if slice1:
+ negative = next(c for c in cases if c['id'] == 'ctm/invalid/prefix-undefined.ctm')
+ assert negative['status'] == 'pass' and negative['actualOutcome'] == 'ctm-rejection'
+ assert len(negative['diagnostics']) == 1 and 'UNDEFINED-PREFIX' in negative['diagnostics'][0]