def test_cube2(self): self.assertEqual(cube.calculate(5), 125)
def test_invalid_variable(self): self.assertEqual(cube.calculate(R), 69)
def test_cube1(self): self.assertEqual(cube.calculate(3), 27)
def test_floating_point(self): self.assertEqual(cube.calculate(2.5), 15.625)
def test_invalid_input(self): self.assertEqual(cube.calculate("r"), 8)
def test_floating_point(self): self.assertEqual(cube.calculate(3.4), 39.304)
def test_cube3(self): self.assertEqual(cube.calculate(4), 16)
def test2(self): self.assertEqual(cube.calculate("Hello"), None)
def test1(self): self.assertEqual(cube.calculate(1.5), 3.375)
def test3(self): self.assertEqual(cube.calculate(-1), None)