- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,478 for Tests (0.03 sec)
-
android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
long k1 = 0x0f0e0d0c0b0a0908L; assertEquals(0xa129ca6149be45e5L, Hashing.sipHash24(k0, k1).hashBytes(message).asLong()); } // From https://github.com/BrandonHaynes/siphash-csharp/blob/master/tests/Tests.cs public void testKnownValues() { assertSip(new byte[] {}, 0x726fdb47dd0e0e31L); assertSip(new byte[] {0x61}, 0x2ba3e8e9a71148caL); assertSip(new byte[1000000], 0x28205108397aa742L);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
long k1 = 0x0f0e0d0c0b0a0908L; assertEquals(0xa129ca6149be45e5L, Hashing.sipHash24(k0, k1).hashBytes(message).asLong()); } // From https://github.com/BrandonHaynes/siphash-csharp/blob/master/tests/Tests.cs public void testKnownValues() { assertSip(new byte[] {}, 0x726fdb47dd0e0e31L); assertSip(new byte[] {0x61}, 0x2ba3e8e9a71148caL); assertSip(new byte[1000000], 0x28205108397aa742L);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java
import static java.util.Arrays.asList; import java.lang.reflect.Method; import java.util.Collection; import java.util.Set; import junit.framework.Test; /** * Tests the {@link Set} implementations of {@link java.util}, suppressing tests that trip known * OpenJDK 6 bugs. * * @author Kevin Bourrillion */ public class OpenJdk6SetTests extends TestsForSetsInJavaUtil { public static Test suite() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutAllTester.java
import java.util.List; import java.util.Set; import org.junit.Ignore; /** * Tests for {@link SetMultimap#replaceValues}. * * @author Louis Wasserman */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.java
import com.google.common.collect.testing.features.MapFeature; import java.util.List; import org.junit.Ignore; /** * Tests for {@link SetMultimap#replaceValues}. * * @author Louis Wasserman */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetMultimapReplaceValuesTester<K, V>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 1.7K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration_test.go
) func TestDelMarkerExpParseAndValidate(t *testing.T) { tests := []struct { xml string err error }{ { xml: `<DelMarkerExpiration> <Days> 1 </Days> </DelMarkerExpiration>`, err: nil, }, { xml: `<DelMarkerExpiration> <Days> -1 </Days> </DelMarkerExpiration>`, err: errInvalidDaysDelMarkerExpiration, }, } for i, test := range tests { t.Run(fmt.Sprintf("TestDelMarker-%d", i), func(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 1.6K bytes - Viewed (0) -
utils/utils_test.go
{"string", "abc", "abc"}, {"other", true, ""}, } for _, test := range tests { t.Run(test.name, func(t *testing.T) { if out := ToString(test.in); test.out != out { t.Fatalf("ToString(%v) want: %s, got: %s", test.in, test.out, out) } }) } } func TestRTrimSlice(t *testing.T) { tests := []struct { name string input []int trimLen int expected []int }{
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
cni/pkg/repair/repair_test.go
} podmap[pod.Name] = strings.Trim(podmap[pod.Name], " ,") } return } func TestLabelPods(t *testing.T) { tests := []struct { name string client kube.Client config config.RepairConfig wantLabels map[string]string wantCount float64 wantTags map[string]string }{ {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/MoreObjectsTest.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.testing.NullPointerTester; import junit.framework.TestCase; /** Tests for {@link MoreObjects}. */ @GwtCompatible(emulated = true) public class MoreObjectsTest extends TestCase { public void testFirstNonNull_withNonNull() { String s1 = "foo";
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListCreationTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests creation (typically through a constructor or static factory * method) of a list. Can't be invoked directly; please see {@link * com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.9K bytes - Viewed (0)