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

Function TestNew

vector/vector_test.go:19–36  ·  view source on GitHub ↗

========================== [ Constructor Tests ] =========================== Creates vectors with dimension from 0 to 99, checks if they actually have that dimension, then checks if the values are correctly initialized to 0.

(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

DimMethod · 0.80
NewFunction · 0.70
GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected