コード例 #1
0
        public void SetDirection_O()
        {
            Drone dr = new Logic.Drone();

            dr.SetDirection('O');
            Assert.AreEqual("(-1, 0)", dr.GetCartesian());
        }
コード例 #2
0
        public void SetDirection_S()
        {
            Drone dr = new Logic.Drone();

            dr.SetDirection('S');
            Assert.AreEqual("(0, -1)", dr.GetCartesian());
        }