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

Function TestMissmatchedDims

vector/vector_test.go:372–387  ·  view source on GitHub ↗

Check whether the various functions that take more than one vector error on being supplied with vectors of missmatched dimensions. It suffices to check the helper function checkDims, since every function must call it to verify its inputs.

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

checkDimsFunction · 0.85
NewFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected