MCPcopy Create free account
hub / github.com/arnauddri/algorithms / TestRead

Function TestRead

algorithms/sorting/utils/utils_test.go:8–19  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

6)
7
8func TestRead(t *testing.T) {
9 for i := 0; i < 100000; i++ {
10 if i%300 == 0 {
11 array := GetArrayOfSize(i)
12
13 if len(array) != i {
14 fmt.Println(array)
15 t.Error()
16 }
17 }
18 }
19}

Callers

nothing calls this directly

Calls 1

GetArrayOfSizeFunction · 0.85

Tested by

no test coverage detected