MCPcopy Index your code
hub / github.com/andeya/algorithm / TestNewFrom

Function TestNewFrom

vector/vector_test.go:41–57  ·  view source on GitHub ↗

Creates vectors with randomized slices, then checks whether they have the correct dimension (len(slice)) and whether they have been correctly initialized.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

makeRandSliceFunction · 0.85
NewFromFunction · 0.85
DimMethod · 0.80
GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected