- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestArrayOf (0.1 sec)
-
src/reflect/all_test.go
func checkSameType(t *testing.T, x Type, y any) { if x != TypeOf(y) || TypeOf(Zero(x).Interface()) != TypeOf(y) { t.Errorf("did not find preexisting type for %s (vs %s)", TypeOf(x), TypeOf(y)) } } func TestArrayOf(t *testing.T) { // check construction and use of type not in binary tests := []struct { n int value func(i int) any comparable bool want string }{ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)