Permalink
Browse files

Added test for lessons_to_minutes

  • Loading branch information...
1 parent 40047a0 commit a20f8693429d59b2c8e7e397f72b815cbf987960 @gabejackson committed Dec 14, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests.py
View
@@ -27,6 +27,9 @@ def test_cube_volume(self):
def test_usd_to_chf(self):
self.assertAlmostEqual(0.917, usd_to_chf(1), places=1)
+
+ def test_lessons_to_minutes(self):
+ self.assertEqual(135, lessons_to_minutes(3))
def test_mwst(self):
self.assertAlmostEqual(39.42-36.50, mwst(39.42), places=2)

0 comments on commit a20f869

Please sign in to comment.