Exemplo n.º 1
0
        public void Dron_Move_L_Dron_1_1_N_Area_5_5_Returned_Direction_W()
        {
            var dron = new Dron("1 1 N");
            var area = new Area("5 5");

            dron.Move("L", area);

            Assert.AreEqual("W", dron.Direction);
        }
Exemplo n.º 2
0
        public void Dron_Move_R_Dron_1_1_W_Area_5_5_Returned_Direction_N()
        {
            var dron = new Dron("1 1 W");
            var area = new Area("5 5");

            dron.Move("R", area);

            Assert.AreEqual("N", dron.Direction);
        }