def test_absolute(self): operation = Operations(-9, False) self.assertEqual(operation.absolute(), 9.0, msg='Incorrect result')