def METHOD_NAME(self, test_object):
    """Test that values are int or float, and limits are two-tuples,
    with lower lmit first"""
    value = test_object.get_value()
    assert value is None or isinstance(value, (int, float)), (
        "AbstractMotor.value must be int, flost, or None, was %s" % value
    )
    limits = test_object.get_limits()
    assert isinstance(limits, tuple), "get_limits() must return a tuple"
    assert len(limits) == 2, "get_limits() must return a two-tuple"
    for lim in limits:
        assert lim is None or isinstance(lim, (int, float)), (
            "AbstractMotor.limits must be int, flost, or None, was %s" % lim
        )
    if None not in limits:
        assert limits[0] <= limits[1], "Lower limit must precede higher limit"