from modu import functions functions.square(2) functions.cube(2) functions.conditional(2)
def test_cube(self): self.assertEqual(functions.cube(-1), -1) self.assertEqual(functions.cube(0), 0) self.assertEqual(functions.cube(2), 8)