def test_black(self): result = annotator.eval_absolute(10.00, False) self.assertEqual(result, -10.00)
def test_white_padded(self): result = annotator.eval_absolute(10, True) self.assertEqual(result, 10.00)