MCPcopy Create free account
hub / github.com/corestoreio/pkg / Subset

Function Subset

util/assert/assertions.go:819–854  ·  view source on GitHub ↗

Subset asserts that the specified list(array, slice...) contains all elements given in the specified subset(array, slice...). assert.Subset(t, [1, 2, 3], [1, 2], "But [1, 2, 3] does contain [1, 2]")

(t TestingT, list, subset interface{}, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

FailFunction · 0.85
includeElementFunction · 0.85
HelperMethod · 0.80
LenMethod · 0.65
IndexMethod · 0.65

Tested by

no test coverage detected