MCPcopy
hub / github.com/PeerDB-io/peerdb / TestInequalRecordCountsInequal

Function TestInequalRecordCountsInequal

flow/e2eshared/e2eshared_test.go:18–25  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

16}
17
18func TestInequalRecordCountsInequal(t *testing.T) {
19 if CheckQRecordEquality(t,
20 []types.QValue{types.QValueNull(types.QValueKindString), types.QValueNull(types.QValueKindString)},
21 []types.QValue{types.QValueNull(types.QValueKindString)},
22 ) {
23 t.Error("2 records should not be equal to 1 record")
24 }
25}
26
27func TestInequalRecordSchemasInequal(t *testing.T) {
28 if CheckEqualRecordBatches(t,

Callers

nothing calls this directly

Calls 2

CheckQRecordEqualityFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected