summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yaksh/tests.py b/yaksh/tests.py
index 1a5c8ee..d3ff4fc 100644
--- a/yaksh/tests.py
+++ b/yaksh/tests.py
@@ -383,6 +383,8 @@ class AnswerPaperTestCases(unittest.TestCase):
def test_set_marks (self):
self.answer_wrong.set_marks(0.5)
self.assertEqual(self.answer_wrong.marks, 0.5)
+ self.answer_wrong.set_marks(10.0)
+ self.assertEqual(self.answer_wrong.marks,1.0)
###############################################################################