MCPcopy Create free account
hub / github.com/Pallinder/go-randomdata / TestBool

Function TestBool

random_data_test.go:219–225  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

217}
218
219func TestBool(t *testing.T) {
220 t.Log("TestBool")
221 booleanVal := Boolean()
222 if booleanVal != true && booleanVal != false {
223 t.Error("Bool was wrong format")
224 }
225}
226
227func TestState(t *testing.T) {
228 t.Log("TestState")

Callers

nothing calls this directly

Calls 1

BooleanFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…