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

Function TestSet

vector/vector_test.go:100–119  ·  view source on GitHub ↗

Creates uninitialized vectors of various dimensions, then sets their values to pseudo-random values. It then compares those values to check if they were set correctly. Also verifies is Set() correctly errors on out-of-range indexes.

(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
SetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected