public void testLinkNode() {
SGFTree tree = new SGFTree();
int m = tree.newNode();
int m1 = tree.newNode(SGFTree.BLACK_MOVE, 3, 4);
tree.linkNode(m, m1);
assertEquals(SGFTree.BLACK_MOVE, tree.getMoveProperty(m1));
assertEquals(3, tree.getMoveX(m1));
assertEquals(4, tree.getMoveY(m1));
assertEquals(m, tree.getPrev(m1));
assertEquals(SGFTree.NULL, tree.getNext(m1));