public void TestInvalidVibrateCmd() { testUtil.TestInvalidDeviceMessage(RotateCmd.Create(4, 1, 0.5, true, 0)); testUtil.TestInvalidDeviceMessage(RotateCmd.Create(4, 1, 0.5, true, 2)); testUtil.TestInvalidDeviceMessage( new VibrateCmd(4, new List <VibrateCmd.VibrateSubcommand>() { new VibrateCmd.VibrateSubcommand(0xffffffff, 0.5), })); }
public void TestInvalidVectorCmdTooManyFeatures() { var msg = LinearCmd.Create(4, 0, 500, 0.75, 2); testUtil.TestInvalidDeviceMessage(msg); }