public void IsCommandParsable_InvalidCommand_False() { var command = new GraphicFieldCommand(); var isParsable = command.IsCommandParsable("^FT10,10"); Assert.IsFalse(isParsable); }
public void IsCommandParsable_ValidCommand_True() { var command = new GraphicFieldCommand(); var isParsable = command.IsCommandParsable("^GFA,4,4,2,A1B2C3D4"); Assert.IsTrue(isParsable); }