def test_check_target_program_passes_for_good_benchmarks(self):
     good_benchmarks = [
         test_benchmarks.test_add(),
         test_benchmarks.test_cast()
     ]
     for good_benchmark in good_benchmarks:
         self._check_target_program(good_benchmark)
Example #2
0
 def test_benchmark_not_ignored_by_default(self):
     not_ignored_list = [
         test_benchmarks.test_add(),
         test_benchmarks.test_cast()
     ]
     for not_ignored in not_ignored_list:
         self.assertFalse(not_ignored.should_ignore)
         self.assertIsNone(not_ignored.ignore_reason)