diff options
author | Martin <martin@leo.fri1.uni-lj.si> | 2015-09-23 10:19:19 +0200 |
---|---|---|
committer | Martin <martin@leo.fri1.uni-lj.si> | 2015-09-23 10:19:19 +0200 |
commit | e0a5dd801c8382848b28503a81c141d0d15f5833 (patch) | |
tree | b36b5144df5e0fe196dbcf7521b64210ee0ff4bb /python/problems/functions/greatest_negative/common.py | |
parent | ba4bee9a9a508eb1a686808241559b331f2d33ea (diff) |
Minor changes to greatest problems. Mostly text corrections.
Diffstat (limited to 'python/problems/functions/greatest_negative/common.py')
-rw-r--r-- | python/problems/functions/greatest_negative/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/problems/functions/greatest_negative/common.py b/python/problems/functions/greatest_negative/common.py index 01dfce3..2425bbc 100644 --- a/python/problems/functions/greatest_negative/common.py +++ b/python/problems/functions/greatest_negative/common.py @@ -30,6 +30,7 @@ hint_type = { 'return_greatest': Hint('return_greatest'), 'return_positive': Hint('return_positive'), 'return_absolute': Hint('return_absolute'), + 'return_indent': Hint('return_indent') } @@ -61,7 +62,6 @@ def test(python, code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_in)}}] if tin: hints.append({'id': 'problematic_test_case', 'args': {'testin': str(tin), 'testout': str(tout)}}) - return n_correct == len(test_in), hints def hint(python, code): |