Home
last modified time | relevance | path

Searched refs:NUM_EDGES (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-tests/test/com/google/common/graph/
DGraphMutationTest.java36 private static final int NUM_EDGES = 1000; field in GraphMutationTest
63 while (graph.edges().size() < NUM_EDGES) { in testGraphMutation()
69 assertThat(graph.edges()).hasSize(NUM_EDGES); in testGraphMutation()
73 int numEdgesToRemove = gen.nextInt(NUM_EDGES); in testGraphMutation()
80 assertThat(graph.edges()).hasSize(NUM_EDGES - numEdgesToRemove); in testGraphMutation()
111 assertThat(graph.edges()).hasSize(NUM_EDGES); in testGraphMutation()
DNetworkMutationTest.java36 private static final int NUM_EDGES = 1000; field in NetworkMutationTest
64 for (int i = 0; i < NUM_EDGES; ++i) { in testNetworkMutation()
74 assertThat(network.edges()).hasSize(NUM_EDGES); in testNetworkMutation()
78 int numEdgesToRemove = gen.nextInt(NUM_EDGES); in testNetworkMutation()
85 assertThat(network.edges()).hasSize(NUM_EDGES - numEdgesToRemove); in testNetworkMutation()
119 assertThat(network.edges()).hasSize(NUM_EDGES); in testNetworkMutation()
/external/guava/android/guava-tests/test/com/google/common/graph/
DGraphMutationTest.java36 private static final int NUM_EDGES = 1000; field in GraphMutationTest
63 while (graph.edges().size() < NUM_EDGES) { in testGraphMutation()
69 assertThat(graph.edges()).hasSize(NUM_EDGES); in testGraphMutation()
73 int numEdgesToRemove = gen.nextInt(NUM_EDGES); in testGraphMutation()
80 assertThat(graph.edges()).hasSize(NUM_EDGES - numEdgesToRemove); in testGraphMutation()
111 assertThat(graph.edges()).hasSize(NUM_EDGES); in testGraphMutation()
DNetworkMutationTest.java36 private static final int NUM_EDGES = 1000; field in NetworkMutationTest
64 for (int i = 0; i < NUM_EDGES; ++i) { in testNetworkMutation()
74 assertThat(network.edges()).hasSize(NUM_EDGES); in testNetworkMutation()
78 int numEdgesToRemove = gen.nextInt(NUM_EDGES); in testNetworkMutation()
85 assertThat(network.edges()).hasSize(NUM_EDGES - numEdgesToRemove); in testNetworkMutation()
119 assertThat(network.edges()).hasSize(NUM_EDGES); in testNetworkMutation()