Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 275 for isEqualTo (0.08 sec)

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

        assertThat(network.edgeOrder()).isEqualTo(unordered());
        assertThat(network.nodeOrder()).isEqualTo(insertion()); // default
      }
    
      @Test
      public void edgeOrder_insertion() {
        MutableNetwork<Integer, String> network =
            NetworkBuilder.directed().edgeOrder(insertion()).build();
    
        addEdges(network);
    
        assertThat(network.edgeOrder()).isEqualTo(ElementOrder.insertion());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

        assertThat(httpUrl.toUri().toString()).isEqualTo("http://\$tracker/")
      }
    
      @Test
      fun fragmentNonAsciiThatOffendsJavaNetUri() {
        val url = "http://host/#\u0080".toHttpUrl()
        assertThat(url.toString()).isEqualTo("http://host/#\u0080")
        assertThat(url.fragment).isEqualTo("\u0080")
        assertThat(url.encodedFragment).isEqualTo("\u0080")
        // Control characters may be stripped!
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/concurrent/TaskLoggerTest.kt

        assertThat(formatDuration(-1_499_999_999L)).isEqualTo(" -1 s ")
        assertThat(formatDuration(-1_000_000_000L)).isEqualTo(" -1 s ")
        assertThat(formatDuration(  -999_500_000L)).isEqualTo(" -1 s ")
        assertThat(formatDuration(  -999_499_999L)).isEqualTo("-999 ms")
        assertThat(formatDuration(  -998_500_000L)).isEqualTo("-999 ms")
        assertThat(formatDuration(  -998_499_999L)).isEqualTo("-998 ms")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.indexOf(EMPTY, (int) 1)).isEqualTo(-1);
        assertThat(Ints.indexOf(ARRAY1, (int) 2)).isEqualTo(-1);
        assertThat(Ints.indexOf(ARRAY234, (int) 1)).isEqualTo(-1);
        assertThat(Ints.indexOf(new int[] {(int) -1}, (int) -1)).isEqualTo(0);
        assertThat(Ints.indexOf(ARRAY234, (int) 2)).isEqualTo(0);
        assertThat(Ints.indexOf(ARRAY234, (int) 3)).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.indexOf(EMPTY, (double) 1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY1, (double) 2)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY234, (double) 1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(new double[] {(double) -1}, (double) -1)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, (double) 2)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, (double) 3)).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.indexOf(ARRAY234, EMPTY)).isEqualTo(0);
        assertThat(Floats.indexOf(EMPTY, ARRAY234)).isEqualTo(-1);
        assertThat(Floats.indexOf(ARRAY234, ARRAY1)).isEqualTo(-1);
        assertThat(Floats.indexOf(ARRAY1, ARRAY234)).isEqualTo(-1);
        assertThat(Floats.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Floats.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.indexOf(ARRAY234, EMPTY)).isEqualTo(0);
        assertThat(Floats.indexOf(EMPTY, ARRAY234)).isEqualTo(-1);
        assertThat(Floats.indexOf(ARRAY234, ARRAY1)).isEqualTo(-1);
        assertThat(Floats.indexOf(ARRAY1, ARRAY234)).isEqualTo(-1);
        assertThat(Floats.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Floats.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.nodes()).isEqualTo(asGraph.nodes());
        assertThat(graph.edges()).isEqualTo(asGraph.edges());
        assertThat(graph.nodeOrder()).isEqualTo(asGraph.nodeOrder());
        assertThat(graph.incidentEdgeOrder()).isEqualTo(asGraph.incidentEdgeOrder());
        assertThat(graph.isDirected()).isEqualTo(asGraph.isDirected());
        assertThat(graph.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/ResponseCommonTest.kt

        assertThat(peekedBody.string()).isEqualTo("abc")
        assertThat(response.body.string()).isEqualTo("abcdef")
      }
    
      @Test fun peekLongerThanResponse() {
        val response = newResponse(responseBody("abc"))
        val peekedBody = response.peekBody(6)
        assertThat(peekedBody.string()).isEqualTo("abc")
        assertThat(response.body.string()).isEqualTo("abc")
      }
    
      @Test fun eachPeakIsIndependent() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.nodes()).isEqualTo(asGraph.nodes());
        assertThat(graph.edges()).isEqualTo(asGraph.edges());
        assertThat(graph.nodeOrder()).isEqualTo(asGraph.nodeOrder());
        assertThat(graph.incidentEdgeOrder()).isEqualTo(asGraph.incidentEdgeOrder());
        assertThat(graph.isDirected()).isEqualTo(asGraph.isDirected());
        assertThat(graph.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops());
    
    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