示例#1
0
        public void Route_NoPossibleRoute_Test()
        {
            Node 一 = new Node(new Vector2(1, 1));
            Node 二 = new Node(new Vector2(4, 7));

            path.Add(一);
            path.Add(二);
            Stack <Node> expected = new Stack <Node>();
            Stack <Node> actual   = path.Route(一, 二);

            Assert.IsTrue(expected.SequenceEqual(actual));
        }