Home
last modified time | relevance | path

Searched refs:E12_A (Results 1 – 14 of 14) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/graph/
DDefaultNetworkImplementationsTest.java54 private static final String E12_A = "1-2a"; field in DefaultNetworkImplementationsTest
149 network.addEdge(N1, N2, E12_A); in edgesConnecting_parallelEdges()
152 assertThat(networkForTest.edgesConnecting(N1, N2)).containsExactly(E12, E12_A); in edgesConnecting_parallelEdges()
155 assertThat(networkForTest.edgesConnecting(N1, N2)).containsExactly(E12, E12_A, E21); in edgesConnecting_parallelEdges()
156 assertThat(networkForTest.edgesConnecting(N2, N1)).containsExactly(E12, E12_A, E21); in edgesConnecting_parallelEdges()
DGraphsTest.java46 private static final String E12_A = "1-2a"; field in GraphsTest
303 directedGraph.addEdge(N1, N2, E12_A); in transpose_directedNetwork()
312 expectedTranspose.addEdge(N2, N1, E12_A); in transpose_directedNetwork()
479 directedGraph.addEdge(N1, N2, E12_A); in createDirected()
505 undirectedGraph.addEdge(N1, N2, E12_A); in createUndirected()
531 assertThat(directedMultigraph.addEdge(N1, N2, E12_A)).isTrue(); in createDirected_multigraph()
532 assertThat(directedMultigraph.edgesConnecting(N1, N2)).isEqualTo(ImmutableSet.of(E12, E12_A)); in createDirected_multigraph()
541 assertThat(undirectedMultigraph.addEdge(N1, N2, E12_A)).isTrue(); in createUndirected_multigraph()
544 .isEqualTo(ImmutableSet.of(E12, E12_A, E21)); in createUndirected_multigraph()
654 directedGraph.addEdge(N1, N2, E12_A); in buildDirectedNetwork()
[all …]
DNetworkEquivalenceTest.java41 private static final String E12_A = "1-2a"; field in NetworkEquivalenceTest
164 g1.addEdge(N1, N2, E12_A); in equivalent_edgeAddOrdersDiffer()
167 g2.addEdge(N1, N2, E12_A); in equivalent_edgeAddOrdersDiffer()
DAbstractNetworkTest.java79 static final String E12_A = "1-2a"; field in AbstractNetworkTest
496 addEdge(N1, N2, E12_A); in adjacentEdges_parallelEdges()
500 assertThat(network.adjacentEdges(E12)).containsExactly(E12_A, E12_B); in adjacentEdges_parallelEdges()
540 addEdge(N1, N2, E12_A); in edgesConnecting_parallelEdges_directed()
542 assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12, E12_A); in edgesConnecting_parallelEdges_directed()
554 addEdge(N1, N2, E12_A); in edgesConnecting_parallelEdges_undirected()
557 assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12, E12_A, E21); in edgesConnecting_parallelEdges_undirected()
558 assertThat(network.edgesConnecting(N2, N1)).containsExactly(E12, E12_A, E21); in edgesConnecting_parallelEdges_undirected()
766 addEdge(N1, N2, E12_A); in removeEdge_parallelEdge()
767 assertTrue(networkAsMutableNetwork.removeEdge(E12_A)); in removeEdge_parallelEdge()
DEndpointPairTest.java40 private static final String E12_A = "1-2a"; field in EndpointPairTest
173 undirectedNetwork.addEdge(N2, N1, E12_A); // adds parallel edge, won't be in Graph edges in endpointPair_undirectedNetwork()
DAbstractStandardUndirectedNetworkTest.java452 assertTrue(networkAsMutableNetwork.addEdge(N1, N2, E12_A)); in addEdge_parallelEdge_allowsParallelEdges()
453 assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12, E12_A, E21); in addEdge_parallelEdge_allowsParallelEdges()
DAbstractStandardDirectedNetworkTest.java555 assertTrue(networkAsMutableNetwork.addEdge(N1, N2, E12_A)); in addEdge_parallelEdge_allowsParallelEdges()
556 assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12, E12_A); in addEdge_parallelEdge_allowsParallelEdges()
/external/guava/guava-tests/test/com/google/common/graph/
DDefaultNetworkImplementationsTest.java54 private static final String E12_A = "1-2a"; field in DefaultNetworkImplementationsTest
149 network.addEdge(N1, N2, E12_A); in edgesConnecting_parallelEdges()
152 assertThat(networkForTest.edgesConnecting(N1, N2)).containsExactly(E12, E12_A); in edgesConnecting_parallelEdges()
155 assertThat(networkForTest.edgesConnecting(N1, N2)).containsExactly(E12, E12_A, E21); in edgesConnecting_parallelEdges()
156 assertThat(networkForTest.edgesConnecting(N2, N1)).containsExactly(E12, E12_A, E21); in edgesConnecting_parallelEdges()
DGraphsTest.java46 private static final String E12_A = "1-2a"; field in GraphsTest
303 directedGraph.addEdge(N1, N2, E12_A); in transpose_directedNetwork()
312 expectedTranspose.addEdge(N2, N1, E12_A); in transpose_directedNetwork()
480 directedGraph.addEdge(N1, N2, E12_A); in createDirected()
506 undirectedGraph.addEdge(N1, N2, E12_A); in createUndirected()
532 assertThat(directedMultigraph.addEdge(N1, N2, E12_A)).isTrue(); in createDirected_multigraph()
533 assertThat(directedMultigraph.edgesConnecting(N1, N2)).isEqualTo(ImmutableSet.of(E12, E12_A)); in createDirected_multigraph()
542 assertThat(undirectedMultigraph.addEdge(N1, N2, E12_A)).isTrue(); in createUndirected_multigraph()
545 .isEqualTo(ImmutableSet.of(E12, E12_A, E21)); in createUndirected_multigraph()
655 directedGraph.addEdge(N1, N2, E12_A); in buildDirectedNetwork()
[all …]
DNetworkEquivalenceTest.java41 private static final String E12_A = "1-2a"; field in NetworkEquivalenceTest
164 g1.addEdge(N1, N2, E12_A); in equivalent_edgeAddOrdersDiffer()
167 g2.addEdge(N1, N2, E12_A); in equivalent_edgeAddOrdersDiffer()
DAbstractNetworkTest.java79 static final String E12_A = "1-2a"; field in AbstractNetworkTest
503 addEdge(N1, N2, E12_A); in adjacentEdges_parallelEdges()
507 assertThat(network.adjacentEdges(E12)).containsExactly(E12_A, E12_B); in adjacentEdges_parallelEdges()
547 addEdge(N1, N2, E12_A); in edgesConnecting_parallelEdges_directed()
549 assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12, E12_A); in edgesConnecting_parallelEdges_directed()
561 addEdge(N1, N2, E12_A); in edgesConnecting_parallelEdges_undirected()
564 assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12, E12_A, E21); in edgesConnecting_parallelEdges_undirected()
565 assertThat(network.edgesConnecting(N2, N1)).containsExactly(E12, E12_A, E21); in edgesConnecting_parallelEdges_undirected()
773 addEdge(N1, N2, E12_A); in removeEdge_parallelEdge()
774 assertTrue(networkAsMutableNetwork.removeEdge(E12_A)); in removeEdge_parallelEdge()
DEndpointPairTest.java40 private static final String E12_A = "1-2a"; field in EndpointPairTest
173 undirectedNetwork.addEdge(N2, N1, E12_A); // adds parallel edge, won't be in Graph edges in endpointPair_undirectedNetwork()
DAbstractStandardUndirectedNetworkTest.java467 assertTrue(networkAsMutableNetwork.addEdge(N1, N2, E12_A)); in addEdge_parallelEdge_allowsParallelEdges()
468 assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12, E12_A, E21); in addEdge_parallelEdge_allowsParallelEdges()
DAbstractStandardDirectedNetworkTest.java567 assertTrue(networkAsMutableNetwork.addEdge(N1, N2, E12_A)); in addEdge_parallelEdge_allowsParallelEdges()
568 assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12, E12_A); in addEdge_parallelEdge_allowsParallelEdges()