Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for isNotEqualTo (0.12 sec)

  1. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(dim1 * dim2).isAtLeast(0);
        testConcatOverflow(dim1, dim2);
      }
    
      private static void testConcatOverflow(int arraysDim1, int arraysDim2) {
        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        char[][] arrays = new char[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        char[] sharedArray = new char[arraysDim2];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/MoreFilesTest.java

        Files.setLastModifiedTime(temp, FileTime.fromMillis(0));
        assertEquals(0, Files.getLastModifiedTime(temp).toMillis());
        MoreFiles.touch(temp);
        assertThat(Files.getLastModifiedTime(temp).toMillis()).isNotEqualTo(0);
      }
    
      public void testCreateParentDirectories_root() throws IOException {
        // We use a fake filesystem to sidestep flaky problems with Windows (b/136041958).
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(dim1 * dim2).isAtLeast(0);
        testConcatOverflow(dim1, dim2);
      }
    
      private static void testConcatOverflow(int arraysDim1, int arraysDim2) {
        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        double[][] arrays = new double[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        double[] sharedArray = new double[arraysDim2];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        otherGraph.putEdgeValue(1, 2, "valueA");
        assertThat(graph).isEqualTo(otherGraph);
    
        otherGraph.putEdgeValue(1, 2, "valueB");
        assertThat(graph).isNotEqualTo(otherGraph); // values differ
      }
    
      @Test
      public void incidentEdges_stableIncidentEdgeOrder_preservesIncidentEdgesOrder_directed() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        Files.setLastModifiedTime(temp, FileTime.fromMillis(0));
        assertEquals(0, Files.getLastModifiedTime(temp).toMillis());
        MoreFiles.touch(temp);
        assertThat(Files.getLastModifiedTime(temp).toMillis()).isNotEqualTo(0);
      }
    
      public void testCreateParentDirectories_root() throws IOException {
        // We use a fake filesystem to sidestep flaky problems with Windows (b/136041958).
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

          }
    
          for (N adjacentNode : sanityCheckSet(graph.adjacentNodes(node))) {
            if (!graph.allowsSelfLoops()) {
              assertThat(node).isNotEqualTo(adjacentNode);
            }
            assertThat(
                    graph.predecessors(node).contains(adjacentNode)
                        || graph.successors(node).contains(adjacentNode))
                .isTrue();
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        assertThat(expected).hasMessageThat().matches(pattern);
          Matcher matcher = pattern.matcher(expected.getMessage());
          assertThat(matcher.matches()).isTrue();
          assertThat(matcher.group(1)).isNotEqualTo(matcher.group(2));
      }
    
      public void testOf() {
        assertMapEquals(ImmutableMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        otherGraph.putEdgeValue(1, 2, "valueA");
        assertThat(graph).isEqualTo(otherGraph);
    
        otherGraph.putEdgeValue(1, 2, "valueB");
        assertThat(graph).isNotEqualTo(otherGraph); // values differ
      }
    
      @Test
      public void incidentEdges_stableIncidentEdgeOrder_preservesIncidentEdgesOrder_directed() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        assertThat(expected).hasMessageThat().matches(pattern);
          Matcher matcher = pattern.matcher(expected.getMessage());
          assertThat(matcher.matches()).isTrue();
          assertThat(matcher.group(1)).isNotEqualTo(matcher.group(2));
      }
    
      public void testOf() {
        assertMapEquals(ImmutableMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(dim1 * dim2).isAtLeast(0);
        testConcatOverflow(dim1, dim2);
      }
    
      private static void testConcatOverflow(int arraysDim1, int arraysDim2) {
        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        boolean[][] arrays = new boolean[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        boolean[] sharedArray = new boolean[arraysDim2];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top