added type tests

This commit is contained in:
David Halter
2012-04-14 21:51:52 +02:00
parent ee3aea95e2
commit 43e0445250
2 changed files with 24 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ def completion_test(source):
comp_str = str(sorted([str(c) for c in completions]))
if comp_str != correct:
print 'Solution not correct, received %s, wanted %s' % \
(correct, comp_str)
(comp_str, correct)
fails += 1
correct = None
tests += 1