MCPcopy
hub / github.com/nlpodyssey/spago / T

Interface T

mat/mat_test_utils.go:15–20  ·  view source on GitHub ↗

T requires a subset of methods from testing.TB. This interface is primarily useful to simplify the testing of the package itself.

Source from the content-addressed store, hash-verified

13// This interface is primarily useful to simplify the testing of the
14// package itself.
15type T interface {
16 Helper()
17 Error(args ...any)
18 Errorf(format string, args ...any)
19 FailNow()
20}
21
22// AssertMatrixEquals tests whether expected is equal to actual; if not,
23// T.Error or T.Errorf are called, providing useful information.

Callers 15

MarshalBinaryMethod · 0.70
UnmarshalBinaryMethod · 0.70
testDenseSetDataFunction · 0.70
testDenseZerosLikeFunction · 0.70
testDenseOnesLikeFunction · 0.70
testDenseScalarFunction · 0.70
testDenseZerosFunction · 0.70
testDenseSetFunction · 0.70
testDenseAtFunction · 0.70
testDenseSetScalarFunction · 0.70
testDenseScalarAtFunction · 0.70
testDenseSetVecFunction · 0.70

Implementers 1

dummyTmat/mat_test_utils_test.go

Calls

no outgoing calls

Tested by

no test coverage detected