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

Function TestNormalize

vector/vector_test.go:246–258  ·  view source on GitHub ↗

Creates pseudo-random vectors, normalizes them both in-place and non-destructive, and verifies that the result is correct.

(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 4

makeRandomVectorFunction · 0.85
NormalizeFunction · 0.85
LenMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected