Esempio n. 1
0
        public void IsCommandParsable_InvalidCommand_False()
        {
            var command    = new Code128BarCodeCommand();
            var isParsable = command.IsCommandParsable("^FT10,10");

            Assert.IsFalse(isParsable);
        }
Esempio n. 2
0
        public void IsCommandParsable_ValidCommand_True()
        {
            var command    = new Code128BarCodeCommand();
            var isParsable = command.IsCommandParsable("^BCN,,N,N,Y");

            Assert.IsTrue(isParsable);
        }