Fix generator/grader for hello world.

This commit is contained in:
Michael Zhang 2017-01-16 16:08:14 -06:00
parent 845b062a3a
commit 140b29d1b9
2 changed files with 1 additions and 6 deletions

View file

@ -1,3 +1 @@
fin = open("case_number", "r")
# Do nothing, as there is no input.

View file

@ -1,4 +1 @@
fin = open("program_output", "r")
output = fin.read().strip()
print "OK" if output == "Hello, world!" else "FAIL"
print "Hello, world!"