public void CNCRMsgCmdAckConstructorTest1()
 {
     byte[] msgBytes = { 0x12, 0xFF, 0xED };
     CNCRMsgCmdAck target = new CNCRMsgCmdAck(msgBytes);
     Assert.AreEqual(true, target.getError());
     Assert.AreEqual(127, target.getFirmware());
 }
 public void CNCRMsgCmdAckConstructorTest_ErrBadFW()
 {
     bool isError = true;
     byte firmware = 128;
     CNCRMsgCmdAck target = new CNCRMsgCmdAck(isError, firmware);
     Assert.AreEqual(isError, target.getError());
     Assert.AreEqual(firmware, target.getFirmware());
 }
 public void getErrorTest()
 {
     CNCRMsgCmdAck target = new CNCRMsgCmdAck(true, 127); // TODO: Initialize to an appropriate value
     bool expected = true; // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.getError();
     Assert.AreEqual(expected, actual);
 }
 public void CNCRMsgCmdAckConstructorTest_valid()
 {
     bool isError = false;
     byte firmware = 0;
     CNCRMsgCmdAck target = new CNCRMsgCmdAck(isError, firmware);
     Assert.AreEqual(isError, target.getError());
     Assert.AreEqual(firmware, target.getFirmware());
 }