Add more tests of the new round()
This commit is contained in:
@@ -48,8 +48,14 @@ class TestGradeUtils(TestCase):
|
||||
|
||||
@ddt.data(
|
||||
(0.5, 1),
|
||||
(1.49, 1),
|
||||
(1.5, 2),
|
||||
(1.51, 2),
|
||||
(2.5, 3),
|
||||
(1.45, 1.5, 1),
|
||||
(-0.5, -1.0),
|
||||
(-1.5, -2.0),
|
||||
(-2.5, -3.0),
|
||||
(-0.1, -0.0),
|
||||
(0.1, 0.0),
|
||||
(0.0, 0.0)
|
||||
|
||||
Reference in New Issue
Block a user