def test_cube(self):
	self.assertEqual(calc.cube(2),8)
	self.assertEqual(calc.cube(4),64)
Exemple #2
0
def test_calcCube(a, b, c, d, answer):
    assert cube(a, b, c, d) == answer
Exemple #3
0
import calc

calc.square(10)

x = calc.cube(10)

print(x)