Fix test and assertion reversal in progress test

This commit is contained in:
Calen Pennington
2012-09-06 15:47:45 -04:00
parent 5f261ec335
commit 8030fdce80

View File

@@ -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)