def test_fail__valid_hid_mouse_move(arg: Any) -> None: with pytest.raises(ValidatorError): print(valid_hid_mouse_move(arg))
def test_ok__valid_hid_mouse_move__m50000() -> None: assert valid_hid_mouse_move(-50000) == -32768
def test_ok__valid_hid_mouse_move__p50000() -> None: assert valid_hid_mouse_move(50000) == 32767
def test_ok__valid_hid_mouse_move(arg: Any) -> None: assert valid_hid_mouse_move(arg) == int(str(arg).strip())