Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testInvariants (0.06 sec)

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

    /**
     * Base class for {@link RangeSet} tests.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // TreeRangeSet
    public abstract class AbstractRangeSetTest extends TestCase {
      public static void testInvariants(RangeSet<?> rangeSet) {
        testInvariantsInternal(rangeSet);
        testInvariantsInternal(rangeSet.complement());
      }
    
      private static <C extends Comparable<?>> void testInvariantsInternal(RangeSet<C> rangeSet) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32)
        // https://github.com/aappleby/smhasher/blob/master/src/main.cpp
        HashTestUtils.verifyHashFunction(hf, 32, 0xB0F57EE3);
      }
    
      public void testInvariants() {
        HashTestUtils.assertInvariants(murmur3_32());
      }
    
      @SuppressWarnings("deprecation")
      public void testInvalidUnicodeHashString() {
        String str =
            new String(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top