Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 698 for testpass (0.05 sec)

  1. guava-tests/test/com/google/common/math/DoubleMathTest.java

    import java.math.BigInteger;
    import java.math.RoundingMode;
    import java.util.Arrays;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code DoubleMath}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    public class DoubleMathTest extends TestCase {
    
      private static final BigDecimal MAX_INT_AS_BIG_DECIMAL = BigDecimal.valueOf(Integer.MAX_VALUE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.math.StatsTesting.ManyValues;
    import com.google.common.primitives.Doubles;
    import com.google.common.primitives.Longs;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link StatsAccumulator}. This tests the stats methods for instances built with {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll}, and various error cases of the {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

    import java.util.Set;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ImmutableMap}.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    			}
    			f.Close()
    		})
    	}
    }
    
    func TestPartialRead(t *testing.T) {
    	type testCase struct {
    		cnt    int    // Number of bytes to read
    		output string // Expected value of string read
    	}
    	vectors := []struct {
    		file  string
    		cases []testCase
    	}{{
    		file: "testdata/gnu.tar",
    		cases: []testCase{
    			{4, "Kilt"},
    			{6, "Google"},
    		},
    	}, {
    		file: "testdata/sparse-formats.tar",
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ByteSourceTest.java

                return null;
              }
            };
    
        source.read(processor);
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
      }
    
      public void testHash() throws IOException {
        ByteSource byteSource = new TestByteSource("hamburger\n".getBytes(US_ASCII));
    
        // Pasted this expected string from `echo hamburger | md5sum`
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/SplitterTest.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.regex.Pattern;
    import junit.framework.TestCase;
    
    /**
     * @author Julien Silland
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class SplitterTest extends TestCase {
    
      private static final Splitter COMMA_SPLITTER = Splitter.on(',');
    
      public void testSplitNullString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/BooleansTest.java

    import java.util.Comparator;
    import java.util.List;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link Booleans}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class BooleansTest extends TestCase {
      private static final boolean[] EMPTY = {};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

    import java.util.Collection;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests representing the contract of {@link Map}. Concrete subclasses of this base class test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/mips64.s

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This input was created by taking the ppc64 testcase and modified
    // by hand.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT foo(SB),DUPOK|NOSPLIT,$0
    //
    // branch
    //
    //	LBRA rel
    //	{
    //		outcode(int($1), &nullgen, 0, &$2);
    //	}
    	BEQ	R1, 2(PC)
    label0:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/ClassPathTest.java

    import java.util.jar.JarOutputStream;
    import java.util.jar.Manifest;
    import java.util.logging.Logger;
    import java.util.zip.ZipEntry;
    import junit.framework.TestCase;
    import org.junit.Test;
    
    /** Functional tests of {@link ClassPath}. */
    public class ClassPathTest extends TestCase {
      private static final Logger log = Logger.getLogger(ClassPathTest.class.getName());
      private static final File FILE = new File(".");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top