- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestFromInt (1.27 sec)
-
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
}, 0x00abcdef, 0x0000000000abcdefL, "efcdab0000000000")); // expectedHashCodes must contain at least one hash code with 4 bytes public void testFromInt() { for (ExpectedHashCode expected : expectedHashCodes) { if (expected.bytes.length == 4) { HashCode fromInt = HashCode.fromInt(expected.asInt); assertExpectedHashCode(expected, fromInt); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 13.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go
"fmt" "math" "reflect" "testing" cbor "k8s.io/apimachinery/pkg/runtime/serializer/cbor/direct" "sigs.k8s.io/yaml" "github.com/google/go-cmp/cmp" fuzz "github.com/google/gofuzz" ) func TestFromInt(t *testing.T) { i := FromInt(93) if i.Type != Int || i.IntVal != 93 { t.Errorf("Expected IntVal=93, got %+v", i) } } func TestFromInt32(t *testing.T) { i := FromInt32(93)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 14.3K bytes - Viewed (0)