Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 134 for containsExactly (0.3 sec)

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

        addNode(N1);
        assertThat(graph.nodes()).containsExactly(N1);
      }
    
      @Test
      public void nodes_noNodes() {
        assertThat(graph.nodes()).isEmpty();
      }
    
      @Test
      public void adjacentNodes_oneEdge() {
        putEdge(N1, N2);
        assertThat(graph.adjacentNodes(N1)).containsExactly(N2);
        assertThat(graph.adjacentNodes(N2)).containsExactly(N1);
      }
    
      @Test
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

        assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir);
      }
    
      public void testFileTraverser_nonExistingFile() throws Exception {
        File file = new File(rootDir, "file-that-doesnt-exist");
    
        assertThat(Files.fileTraverser().breadthFirst(file)).containsExactly(file);
      }
    
      public void testFileTraverser_file() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      }
    
      public void testOf1() {
        assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0);
      }
    
      public void testOf2() {
        assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder();
      }
    
      public void testOf3() {
        assertThat(ImmutableDoubleArray.of(0, 1, 3).asList()).containsExactly(0.0, 1.0, 3.0).inOrder();
      }
    
      public void testOf4() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt

        assertThat(certificatePinner.findMatchingPins("a.example.com")).containsExactly(expectedPin)
        assertThat(certificatePinner.findMatchingPins(".example.com")).containsExactly(expectedPin)
        assertThat(certificatePinner.findMatchingPins("example.example.com"))
          .containsExactly(expectedPin)
      }
    
      @Test fun testGoodPin() {
        val pin =
          Pin(
            "**.example.co.uk",
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .containsExactly(fullpath("base/relative.jar"));
      }
    
      public void testGetClassPathFromManifest_trailingBlanks() throws IOException {
        File jarFile = new File("base/some.jar");
        Manifest manifest = manifestClasspath("relative.jar ");
        assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest))
            .containsExactly(fullpath("base/relative.jar"));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 23K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      public void testOf_headSet() {
        SortedSet<String> set = of("e", "f", "b", "d", "c");
        assertTrue(set.headSet("e") instanceof ImmutableSortedSet);
        assertThat(set.headSet("e")).containsExactly("b", "c", "d").inOrder();
        assertThat(set.headSet("g")).containsExactly("b", "c", "d", "e", "f").inOrder();
        assertSame(this.<String>of(), set.headSet("a"));
        assertSame(this.<String>of(), set.headSet("b"));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        assertThat(multimap.keySet()).containsExactly("foo", "bar", "cow").inOrder();
        assertThat(multimap.removeAll("foo")).containsExactly(6, 7).inOrder();
        assertThat(multimap.keySet()).containsExactly("bar", "cow").inOrder();
        assertTrue(multimap.remove("bar", 4));
        assertThat(multimap.keySet()).containsExactly("bar", "cow").inOrder();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/QuantilesTest.java

            .containsExactly(1, SIXTEEN_SQUARES_QUARTILE_1, 3, SIXTEEN_SQUARES_QUARTILE_3);
      }
    
      public void testQuartiles_indexes_varargs_computeInPlace() {
        double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES);
        assertThat(quartiles().indexes(1, 3).computeInPlace(dataset))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
            .containsExactly(
                1, SIXTEEN_SQUARES_QUARTILE_1,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/QuantilesTest.java

            .containsExactly(1, SIXTEEN_SQUARES_QUARTILE_1, 3, SIXTEEN_SQUARES_QUARTILE_3);
      }
    
      public void testQuartiles_indexes_varargs_computeInPlace() {
        double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES);
        assertThat(quartiles().indexes(1, 3).computeInPlace(dataset))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
            .containsExactly(
                1, SIXTEEN_SQUARES_QUARTILE_1,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

          assertThat(headersToList(response)).containsExactly("Content-Length: 0")
        }
      }
    
      @Test
      fun setStatusControlsWholeStatusLine() {
        val response = MockResponse().setStatus("HTTP/1.1 202 That'll do pig")
        assertThat(headersToList(response)).containsExactly("Content-Length: 0")
        assertThat(response.status).isEqualTo("HTTP/1.1 202 That'll do pig")
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
Back to top