- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for forTree_breadthFirst_infinite (0.08 sec)
-
android/guava-tests/test/com/google/common/graph/TraverserTest.java
network.addEdge("a", "b", 11); assertThrows(IllegalArgumentException.class, () -> Traverser.forTree(network)); } @Test public void forTree_breadthFirst_infinite() { Iterable<Integer> result = Traverser.forTree(fixedSuccessors(Iterables.cycle(1, 2, 3))).breadthFirst(0); assertThat(Iterables.limit(result, 8)).containsExactly(0, 1, 2, 3, 1, 2, 3, 1).inOrder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 47.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
network.addEdge("a", "b", 11); assertThrows(IllegalArgumentException.class, () -> Traverser.forTree(network)); } @Test public void forTree_breadthFirst_infinite() { Iterable<Integer> result = Traverser.forTree(fixedSuccessors(Iterables.cycle(1, 2, 3))).breadthFirst(0); assertThat(Iterables.limit(result, 8)).containsExactly(0, 1, 2, 3, 1, 2, 3, 1).inOrder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 47.5K bytes - Viewed (0)