assertEquals(10, list(mixedLeafTree, Strategy.TREES_ONLY).size());
assertEquals(0, list(featuresBucketsTree, Strategy.TREES_ONLY).size());
int numSubTrees = RevTree.NORMALIZED_SIZE_LIMIT + 1;
int featuresPerTree = RevTree.NORMALIZED_SIZE_LIMIT + 1;
RevTreeBuilder builder = createTreesTree(source, numSubTrees, featuresPerTree, metadataId);
for (int i = 0; i < 25000; i++) {
builder.put(featureNode("f", i));
}
RevTree mixedBucketsTree = builder.build();
assertEquals(numSubTrees, list(mixedBucketsTree, Strategy.TREES_ONLY).size());
}