- Sort Score
- Num 10 results
- Language All
Results 691 - 700 of 737 for testCases (0.05 seconds)
-
guava-tests/test/com/google/common/hash/BloomFilterTest.java
import java.util.Random; import java.util.stream.Stream; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for SimpleGenericBloomFilter and derived BloomFilter views. * * @author Dimitris Andreou */ @NullUnmarked public class BloomFilterTest extends TestCase { private static final int NUM_PUTS = 100_000;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 23K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/DoubleMathTest.java
import java.math.BigInteger; import java.math.RoundingMode; import java.util.Arrays; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@code DoubleMath}. * * @author Louis Wasserman */ @GwtCompatible @NullUnmarked public class DoubleMathTest extends TestCase { private static final BigDecimal MAX_INT_AS_BIG_DECIMAL = BigDecimal.valueOf(Integer.MAX_VALUE);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 03 16:20:39 GMT 2026 - 27.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
import java.math.BigInteger; import java.math.RoundingMode; import java.util.Random; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link IntMath}. * * @author Louis Wasserman */ @GwtCompatible @NullUnmarked public class IntMathTest extends TestCase { public void testMaxSignedPowerOfTwo() { assertTrue(IntMath.isPowerOfTwo(IntMath.MAX_SIGNED_POWER_OF_TWO));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0) -
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; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link StatsAccumulator}. This tests the stats methods for instances built with {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 37.1K bytes - Click Count (0) -
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",
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 47.5K bytes - Click Count (0) -
tests/migrate_test.go
type UniqueStruct8 struct { // unique and uniqueIndex Name string `gorm:"size:60;unique;index:my_us8_index,unique;"` } checkField(&UniqueStruct8{}, "name", true, "my_us8_index") type TestCase struct { name string from, to interface{} checkFunc func(t *testing.T) } checkColumnType := func(t *testing.T, fieldName string, unique bool) {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:49:01 GMT 2026 - 66.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link MinMaxPriorityQueue}. * * @author Alexei Stolboushkin * @author Sverre Sundsdal */ @GwtCompatible @NullMarked public class MinMaxPriorityQueueTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
import java.util.regex.Pattern; import junit.framework.AssertionFailedError; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link Predicates}. * * @author Kevin Bourrillion */ @NullMarked @GwtCompatible public class PredicatesTest extends TestCase { private static final Predicate<@Nullable Integer> TRUE = Predicates.alwaysTrue();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 32.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
import java.util.Comparator; import java.util.List; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link Booleans}. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class BooleansTest extends TestCase { private static final boolean[] EMPTY = {};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 25.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
import java.util.jar.Manifest; import java.util.logging.Logger; import java.util.zip.ZipEntry; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.junit.Test; /** Functional tests of {@link ClassPath}. */ @NullUnmarked public class ClassPathTest extends TestCase { private static final Logger log = Logger.getLogger(ClassPathTest.class.getName()); private static final File FILE = new File(".");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 25.8K bytes - Click Count (0)