Commit 8030fdce by Calen Pennington

Fix test and assertion reversal in progress test

parent 5f261ec3
......@@ -711,7 +711,7 @@ class ProgressTest(unittest.TestCase):
def test_clamp(self):
self.assertEqual((2, 2), Progress(3, 2).frac())
self.assertEqual((-2, 2), Progress(0, 2).frac())
self.assertEqual((0, 2), Progress(-2, 2).frac())
def test_frac(self):
p = Progress(1, 2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment