- Sort Score
- Result 10 results
- Languages All
Results 1011 - 1020 of 1,478 for Tests (0.1 sec)
-
android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java
import static com.google.common.hash.Hashing.ChecksumType.ADLER_32; import static com.google.common.hash.Hashing.ChecksumType.CRC_32; import java.util.zip.Checksum; import junit.framework.TestCase; /** * Tests for ChecksumHashFunction. * * @author Colin Decker */ public class ChecksumHashFunctionTest extends TestCase { public void testCrc32_equalsChecksumValue() throws Exception { assertChecksum(CRC_32, "");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 30 14:33:12 UTC 2018 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java
import com.google.common.collect.ImmutableSet; import com.google.common.collect.Sets; import java.util.Map; import java.util.Random; import java.util.Set; import junit.framework.TestCase; /** * Tests that the different algorithms benchmarked in {@link QuantilesBenchmark} are actually all * returning more-or-less the same answers. */ public class QuantilesAlgorithmTest extends TestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java
import org.junit.Ignore; /** * Tester for {@code Multimap.equals}. * * @author Louis Wasserman */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @ElementTypesAreNonnullByDefault public class MultimapEqualsTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphMutationTest.java
import java.util.Collections; import java.util.List; import java.util.Random; import java.util.RandomAccess; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** Tests for repeated node and edge addition and removal in a {@link Graph}. */ @RunWith(JUnit4.class) public final class GraphMutationTest { private static final int NUM_TRIALS = 50; private static final int NUM_NODES = 100;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 18 16:17:46 UTC 2017 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java
import java.util.Collection; import java.util.Set; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code ForwardingSet}. * * @author Robert Konigsberg * @author Louis Wasserman */ public class ForwardingSetTest extends TestCase { static class StandardImplForwardingSet<T> extends ForwardingSet<T> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
import java.nio.file.attribute.PosixFileAttributes; import junit.framework.TestCase; /** * Unit test for {@link Files#createTempDir}. * * @author Chris Nokleberg */ @SuppressWarnings("deprecation") // tests of a deprecated method public class FilesCreateTempDirTest extends TestCase { public void testCreateTempDir() throws IOException { if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 4.3K bytes - Viewed (0) -
tests/group_by_test.go
package tests_test import ( "testing" . "gorm.io/gorm/utils/tests" ) func TestGroupBy(t *testing.T) { users := []User{{ Name: "groupby", Age: 10, Birthday: Now(), Active: true, }, { Name: "groupby", Age: 20, Birthday: Now(), }, { Name: "groupby", Age: 30, Birthday: Now(), Active: true, }, { Name: "groupby1", Age: 110,
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 3.3K bytes - Viewed (0) -
tests/test_tutorial/test_header_param_models/test_tutorial002.py
import importlib import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from inline_snapshot import snapshot from tests.utils import needs_py39, needs_py310, needs_pydanticv1, needs_pydanticv2 @pytest.fixture( name="client", params=[ pytest.param("tutorial002", marks=needs_pydanticv2), pytest.param("tutorial002_py310", marks=[needs_py310, needs_pydanticv2]),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.5K bytes - Viewed (0) -
tests/test_tutorial/test_query_param_models/test_tutorial001.py
import importlib import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from inline_snapshot import snapshot from tests.utils import needs_py39, needs_py310 @pytest.fixture( name="client", params=[ "tutorial001", pytest.param("tutorial001_py39", marks=needs_py39), pytest.param("tutorial001_py310", marks=needs_py310), "tutorial001_an",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
import java.util.function.Predicate; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors. * * @author George van den Driessche */ public final class MapTestSuiteBuilderTests extends TestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 11.9K bytes - Viewed (0)