(t *testing.T)
| 108 | } |
| 109 | |
| 110 | func TestWrappedRecordDotWithIncompatibleSizes(t *testing.T) { |
| 111 | assertPanic(t, "dot product should panic with vectors of different sizes", func() { |
| 112 | WrapRecord(&testRecord).Dot(WrapRecord(&testShorterRecord)) |
| 113 | }) |
| 114 | } |
| 115 | |
| 116 | func TestWrappedRecordMagnitude(t *testing.T) { |
| 117 | testRecord.Data = []float32{0, 0, 2} |
nothing calls this directly
no test coverage detected