コード例 #1
0
        public void Place_InRange()
        {
            //initialize test
            var x = 0;
            var y = 0;
            var f = Orientations.SOUTH;

            //execute
            robot.Place(x, y, f);

            //assert
            Assert.AreEqual(String.Format("{0},{1},{2}", x, y, f), robot.GetCurrentPosition());
        }