Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 126 for testEqual (0.04 sec)

  1. android/guava-tests/test/com/google/common/hash/HashingTest.java

            .addEqualityGroup(
                Hashing.concatenating(Hashing.md5(), Hashing.murmur3_32()),
                Hashing.concatenating(asList(Hashing.md5(), Hashing.murmur3_32())))
            .testEquals();
      }
    
      public void testConcatenatingIterable_bits() {
        assertEquals(
            Hashing.md5().bits() + Hashing.md5().bits(),
            Hashing.concatenating(asList(Hashing.md5(), Hashing.md5())).bits());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

                  }
                });
      }
    
      public void testEquals() {
        NavigableMap<Integer, String> map1 = ImmutableSortedMap.of(1, "one");
        NavigableMap<Integer, String> map2 = ImmutableSortedMap.of(2, "two");
        new EqualsTester()
            .addEqualityGroup(map1, wrap(map1), wrap(map1))
            .addEqualityGroup(map2, wrap(map2))
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            for (int i = 0; i < 16; i++) {
                assertEquals(testBytes[i], buffer[i + 2]);
            }
        }
    
        @Test
        @DisplayName("Should implement equals correctly")
        void testEquals() {
            byte[] testBytes1 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            byte[] testBytes2 = Arrays.copyOf(testBytes1, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

            assertEquals(original.getInterfaceIndex(), decoded.getInterfaceIndex());
            assertEquals(original.getCapability(), decoded.getCapability());
        }
    
        @Test
        void testEquals() {
            NetworkInterfaceInfo info1 = new NetworkInterfaceInfo(testAddress, 1000);
            info1.setInterfaceIndex(1);
    
            NetworkInterfaceInfo info2 = new NetworkInterfaceInfo(testAddress, 1000);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                ImmutableMultiset.of("a", "a", "b"))
            .addEqualityGroup(ImmutableMultiset.of("a", "b"))
            .addEqualityGroup(ImmutableMultiset.of("a", "b", "c", "d"))
            .testEquals();
      }
    
      public void testIterationOrder() {
        Collection<String> c = ImmutableMultiset.of("a", "b", "a");
        assertThat(c).containsExactly("a", "a", "b").inOrder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapEqualsTester.java

        ListMultimap<K, V> multimap2 =
            getSubjectGenerator()
                .create(mapEntry(k0(), v1()), mapEntry(k0(), v0()), mapEntry(k0(), v0()));
        new EqualsTester().addEqualityGroup(multimap1).addEqualityGroup(multimap2).testEquals();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeImplTest.java

            assertTrue(tree.matches("share", "A:"));
            assertFalse(tree.matches("othershare", "A:"));
        }
    
        // Test case for the equals method
        @Test
        void testEquals() {
            SmbTreeImpl tree1 = new SmbTreeImpl(session, "SHARE", "A:");
            SmbTreeImpl tree2 = new SmbTreeImpl(session, "SHARE", "A:");
            SmbTreeImpl tree3 = new SmbTreeImpl(session, "OTHER", "A:");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

          EndpointPair<Integer> endpointPair = network.incidentNodes("1-2");
          assertThrows(IllegalArgumentException.class, () -> endpointPair.adjacentNode(3));
        }
      }
    
      @Test
      public void testEquals() {
        EndpointPair<String> ordered = EndpointPair.ordered("a", "b");
        EndpointPair<String> orderedMirror = EndpointPair.ordered("b", "a");
        EndpointPair<String> unordered = EndpointPair.unordered("a", "b");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        // return collection::iterator;
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
            return collection.iterator();
          }
        };
      }
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(ImmutableLongArray.of())
            .addEqualityGroup(
                ImmutableLongArray.of(1, 2),
                reserialize(ImmutableLongArray.of(1, 2)),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                ImmutableMultiset.of("a", "a", "b"))
            .addEqualityGroup(ImmutableMultiset.of("a", "b"))
            .addEqualityGroup(ImmutableMultiset.of("a", "b", "c", "d"))
            .testEquals();
      }
    
      public void testIterationOrder() {
        Collection<String> c = ImmutableMultiset.of("a", "b", "a");
        assertThat(c).containsExactly("a", "a", "b").inOrder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top