Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 130 for test_equals2 (0.06 sec)

  1. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closed(2L, 1L));
        assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closedOpen(2L, 1L));
      }
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(
                ContiguousSet.create(Range.closed(1, 3), integers()),
                ContiguousSet.closed(1, 3),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. 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)
  3. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        new EqualsTester().addEqualityGroup(input, multimap).testEquals();
      }
    
      public void testCopyOfEmpty() {
        ArrayListMultimap<String, Integer> input = ArrayListMultimap.create();
        ImmutableListMultimap<String, Integer> multimap = ImmutableListMultimap.copyOf(input);
        new EqualsTester().addEqualityGroup(input, multimap).testEquals();
      }
    
      public void testCopyOfImmutableListMultimap() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

            .addEqualityGroup(BloomFilter.create(Funnels.unencodedCharsFunnel(), 200, 0.01))
            .addEqualityGroup(BloomFilter.create(Funnels.unencodedCharsFunnel(), 200, 0.02))
            .testEquals();
      }
    
      public void testEquals() {
        BloomFilter<String> bf1 = BloomFilter.create(Funnels.unencodedCharsFunnel(), 100);
        bf1.put("1");
        bf1.put("2");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top