def test_exponentiate(self): calcObject = Calculator(2, 3) x = calcObject.Exponentiate() self.assertEqual(8, x)