Exemplo n.º 1
0
        public void ParseCommand_ValidCommandXisEmpty_Successful()
        {
            var command = new FieldOriginCommand();

            command.ParseCommand("^FO,10");
            Assert.AreEqual(0, command.X);
            Assert.AreEqual(10, command.Y);
        }
Exemplo n.º 2
0
        public void ParseCommand_ValidCommand2_Successful()
        {
            var command = new FieldOriginCommand();

            command.ParseCommand("^FO0,20");
            Assert.AreEqual(0, command.X);
            Assert.AreEqual(20, command.Y);
        }