Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testEmpty1 (0.65 sec)

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

                67108864,
                134217728,
                268435456,
                536870912,
                1073741824)
            .inOrder();
      }
    
      @SuppressWarnings("DoNotCall")
      public void testEmpty() {
        Iterator<Object> empty = new EmptyAbstractSequentialIterator<>();
        assertFalse(empty.hasNext());
        assertThrows(NoSuchElementException.class, empty::next);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

     *
     * @author Patrick Costello
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class Crc32cHashFunctionTest extends TestCase {
      public void testEmpty() {
        assertCrc(0, new byte[0]);
      }
    
      public void testZeros() {
        // Test 32 byte array of 0x00.
        byte[] zeros = new byte[32];
        assertCrc(0x8a9136aa, zeros);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top