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

calc.square(10)

x = calc.cube(10)

print(x)