Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for assertStronglyEquivalent (0.19 sec)

  1. guava-tests/test/com/google/common/graph/TestUtil.java

      }
    
      static void assertStronglyEquivalent(Graph<?> graphA, Graph<?> graphB) {
        // Properties not covered by equals()
        assertThat(graphA.allowsSelfLoops()).isEqualTo(graphB.allowsSelfLoops());
        assertThat(graphA.nodeOrder()).isEqualTo(graphB.nodeOrder());
    
        assertThat(graphA).isEqualTo(graphB);
      }
    
      static void assertStronglyEquivalent(ValueGraph<?, ?> graphA, ValueGraph<?, ?> graphB) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      }
    
      @After
      public void validateNetworkState() {
        validateNetwork(network);
      }
    
      static <N, E> void validateNetwork(Network<N, E> network) {
        assertStronglyEquivalent(network, Graphs.copyOf(network));
        assertStronglyEquivalent(network, ImmutableNetwork.copyOf(network));
    
        String networkString = network.toString();
        assertThat(networkString).contains("isDirected: " + network.isDirected());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

    public final class ValueGraphTest {
      private static final String DEFAULT = "default";
    
      MutableValueGraph<Integer, String> graph;
    
      @After
      public void validateGraphState() {
        assertStronglyEquivalent(graph, Graphs.copyOf(graph));
        assertStronglyEquivalent(graph, ImmutableValueGraph.copyOf(graph));
    
        Graph<Integer> asGraph = graph.asGraph();
        AbstractGraphTest.validateGraph(asGraph);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        }
      }
    
      @After
      public final void validateGraphState() {
        validateGraph(graph);
      }
    
      static <N> void validateGraph(Graph<N> graph) {
        assertStronglyEquivalent(graph, Graphs.copyOf(graph));
        assertStronglyEquivalent(graph, ImmutableGraph.copyOf(graph));
    
        String graphString = graph.toString();
        assertThat(graphString).contains("isDirected: " + graph.isDirected());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/ValueGraphTest.java

    public final class ValueGraphTest {
      private static final String DEFAULT = "default";
    
      MutableValueGraph<Integer, String> graph;
    
      @After
      public void validateGraphState() {
        assertStronglyEquivalent(graph, Graphs.copyOf(graph));
        assertStronglyEquivalent(graph, ImmutableValueGraph.copyOf(graph));
    
        Graph<Integer> asGraph = graph.asGraph();
        AbstractGraphTest.validateGraph(asGraph);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top