void () { TreeNode root = createRoot(); TreeNode color = root.getChildAt(0); TreeNode digit = root.getChildAt(1); TreeNode greek = root.getChildAt(2); test(root, 1, createFinder(root), root); test(root, 2, createFinder(color), root, color); test(root, 3, createFinder(color.getChildAt(0)), root, color, color.getChildAt(0)); test(root, 4, createFinder(color.getChildAt(1)), root, color, color.getChildAt(1)); test(root, 5, createFinder(color.getChildAt(2)), root, color, color.getChildAt(2)); test(root, 3, createFinder(digit), root, digit); test(root, 4, createFinder(digit.getChildAt(0)), root, digit, digit.getChildAt(0)); test(root, 5, createFinder(digit.getChildAt(1)), root, digit, digit.getChildAt(1)); test(root, 6, createFinder(digit.getChildAt(2)), root, digit, digit.getChildAt(2)); test(root, 7, createFinder(digit.getChildAt(3)), root, digit, digit.getChildAt(3)); test(root, 8, createFinder(digit.getChildAt(4)), root, digit, digit.getChildAt(4)); test(root, 9, createFinder(digit.getChildAt(5)), root, digit, digit.getChildAt(5)); test(root, 10, createFinder(digit.getChildAt(6)), root, digit, digit.getChildAt(6)); test(root, 11, createFinder(digit.getChildAt(7)), root, digit, digit.getChildAt(7)); test(root, 12, createFinder(digit.getChildAt(8)), root, digit, digit.getChildAt(8)); test(root, 4, createFinder(greek), root, greek); test(root, 5, createFinder(greek.getChildAt(0)), root, greek, greek.getChildAt(0)); test(root, 6, createFinder(greek.getChildAt(1)), root, greek, greek.getChildAt(1)); test(root, 7, createFinder(greek.getChildAt(2)), root, greek, greek.getChildAt(2)); test(root, 8, createFinder(greek.getChildAt(3)), root, greek, greek.getChildAt(3)); test(root, 9, createFinder(greek.getChildAt(4)), root, greek, greek.getChildAt(4)); }