MCPcopy
hub / github.com/cornelk/hashmap / True

Function True

assert/assert.go:52–58  ·  view source on GitHub ↗

True asserts that the specified value is true.

(t *testing.T, value bool, errorMessage ...string)

Source from the content-addressed store, hash-verified

50
51// True asserts that the specified value is true.
52func True(t *testing.T, value bool, errorMessage ...string) {
53 t.Helper()
54 if value {
55 return
56 }
57 fail(t, "Unexpected false", errorMessage...)
58}
59
60// False asserts that the specified value is false.
61func False(t *testing.T, value bool, errorMessage ...string) {

Callers 15

TestHashCollisionFunction · 0.92
TestAliasTypeSupportFunction · 0.92
TestSetStringFunction · 0.92
TestSetUint8Function · 0.92
TestSetInt16Function · 0.92
TestSetFloat32Function · 0.92
TestSetFloat64Function · 0.92
TestSetInt64Function · 0.92
TestInsertFunction · 0.92
TestResizeFunction · 0.92
TestDeleteFunction · 0.92
TestRangeFunction · 0.92

Calls 1

failFunction · 0.85

Tested by 15

TestHashCollisionFunction · 0.74
TestAliasTypeSupportFunction · 0.74
TestSetStringFunction · 0.74
TestSetUint8Function · 0.74
TestSetInt16Function · 0.74
TestSetFloat32Function · 0.74
TestSetFloat64Function · 0.74
TestSetInt64Function · 0.74
TestInsertFunction · 0.74
TestResizeFunction · 0.74
TestDeleteFunction · 0.74
TestRangeFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…