public void IsRootNodeTest_False()
        {
            GraphExplorer ge = GraphExplorer.CreateGraphExplorer(new byte[] { 2, 2 },
                                                                 new byte[] { 1, 2, 3, 4 }, new char[] { 'l', 'r' });
            INode parent = new Node(null, null, new NodeState(new byte[] { 1, 1 }, new byte[] { 0, 1 }), 0);

            Assert.IsFalse(ge.IsRootNode(new Node(parent, DownOperator.Instance, new NodeState(new byte[] { 1, 1 },
                                                                                               new byte[] { 0, 1 }), 1)));
        }
        public void IsRootNodeTest_True()
        {
            GraphExplorer ge = GraphExplorer.CreateGraphExplorer(new byte[] { 4, 4 },
                                                                 new byte[] { 1, 2, 3, 0 },
                                                                 new char[] { 'l', 'r' });

            Assert.IsTrue(ge.IsRootNode(new Node(null, null, new NodeState(new byte[] { 1, 1 },
                                                                           new byte[] { 0, 1 }), 0)));
        }