public void ParseCommand_ValidCommand2_Successful() { var command = new Code128BarCodeCommand(); command.ParseCommand("^BCN,,Y,Y,Y"); Assert.AreEqual(Orientation.Normal, command.Orientation); Assert.IsNull(command.BarCodeHeight); Assert.IsTrue(command.PrintInterpretationLine); Assert.IsTrue(command.PrintInterpretationLineAboveCode); Assert.IsTrue(command.UccCheckDigit); }
public void ParseCommand_ValidCommand5_Successful() { var command = new Code128BarCodeCommand(); command.ParseCommand("^BCB,55"); Assert.AreEqual(Orientation.Rotated270, command.Orientation); Assert.AreEqual(55, command.BarCodeHeight); Assert.IsTrue(command.PrintInterpretationLine); Assert.IsFalse(command.PrintInterpretationLineAboveCode); Assert.IsFalse(command.UccCheckDigit); }