Fix generator/grader for hello world.
This commit is contained in:
parent
845b062a3a
commit
140b29d1b9
2 changed files with 1 additions and 6 deletions
|
@ -1,3 +1 @@
|
||||||
fin = open("case_number", "r")
|
|
||||||
|
|
||||||
# Do nothing, as there is no input.
|
# Do nothing, as there is no input.
|
|
@ -1,4 +1 @@
|
||||||
fin = open("program_output", "r")
|
print "Hello, world!"
|
||||||
|
|
||||||
output = fin.read().strip()
|
|
||||||
print "OK" if output == "Hello, world!" else "FAIL"
|
|
Loading…
Reference in a new issue