```def test_method(self, x, s, a): while math_ops.reduce_sum(x) > s: x //= self.called_member(a) return x ```