comparison src/treecms/test/TreeTest.java @ 6:12604eb6b615

added javadoc
author shoshi
date Mon, 14 Mar 2011 23:24:38 +0900
parents 87bba22e4fa2
children
comparison
equal deleted inserted replaced
5:87bba22e4fa2 6:12604eb6b615
20 } 20 }
21 21
22 @Test 22 @Test
23 public void testUpdateTree() 23 public void testUpdateTree()
24 { 24 {
25 /**
26 * Root
27 * + 1
28 * + + 1-1 <- update this.
29 * +
30 * + 2
31 * + 2-1
32 */
33
34 Node ch1 = m_tree.getForest().create(); 25 Node ch1 = m_tree.getForest().create();
35 Node ch2 = m_tree.getForest().create(); 26 Node ch2 = m_tree.getForest().create();
36 27
37 Node ch11 = m_tree.getForest().create(); 28 Node ch11 = m_tree.getForest().create();
38 Node ch12 = m_tree.getForest().create(); 29 Node ch12 = m_tree.getForest().create();