Skip to content

Commit

Permalink
Added symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaumicMekanism committed Mar 26, 2021
1 parent 7f63c4f commit 4b50412
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions AutograderSubTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ def score_post(self, ag: AutograderTest, test: AutograderTest, data):
if self.is_pass_fail:
if self.did_pass(data):
test.set_score(True)
passed = "PASSED"
passed = "PASSED"
else:
test.set_score(False)
passed = "FAILED"
passed = "X FAILED"
test.print(passed)
else:
test.set_score(data["score"])
Expand All @@ -141,9 +141,9 @@ def post_subtest_run(self, ag: Autograder, test: AutograderTest, t: AutograderSu
test.print(t.output)
test.print("-" * self.separator_count)
if self.is_pass_fail:
msg = "FAILED"
msg = "X FAILED"
if passed:
msg = "PASSED"
msg = "PASSED"
test.print(msg)
else:
test.print(f"{score} / {t.max_score}")
Expand Down

0 comments on commit 4b50412

Please sign in to comment.