return asList(new ProfileTree(0L, root, 1));
}
@Test
public void rendersMultiBranchProfile() {
ProfileNode left = new ProfileNode(ProfileFixtures.println, 0.5);
ProfileNode right = new ProfileNode(ProfileFixtures.append, 0.5);
ProfileNode root = new ProfileNode(ProfileFixtures.printf, 1, asList(left, right));
Profile profile = new Profile(2, asList(new FlatProfileEntry(ProfileFixtures.printf, 1.0, 0.0)), toTrees(root));
ui.accept(profile);
console.isShowingTraces(2);