Beispiel #1
0
        public void ParseCommand_ValidCommandXisEmpty_Successful()
        {
            var command = new LabelHomeCommand();

            command.ParseCommand("^LH,10");
            Assert.AreEqual(0, command.X);
            Assert.AreEqual(10, command.Y);
        }
Beispiel #2
0
        public void ParseCommand_ValidCommand2_Successful()
        {
            var command = new LabelHomeCommand();

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