testsuite.py

changeset 117
178d6e54694f
parent 99
01941a811b5a
equal deleted inserted replaced
116:60cac583b5df 117:178d6e54694f
137 return sorted( 137 return sorted(
138 iterate_problems(test_suite), 138 iterate_problems(test_suite),
139 key = lambda problem_type: problem_type.name 139 key = lambda problem_type: problem_type.name
140 ) 140 )
141 141
142 def all_problem_type_names(test_suite):
143 return set(
144 problem_type.name
145 for problem_type in iterate_problems(test_suite)
146 )
147
142 if __name__ == '__main__': 148 if __name__ == '__main__':
143 from pprint import pprint 149 from pprint import pprint
144 pprint(load_tests()) 150 pprint(load_tests())

mercurial