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

Function TestDay

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

Source from the content-addressed store, hash-verified

331}
332
333func TestDay(t *testing.T) {
334 t.Log("TestDay")
335 day := Day()
336
337 if !findInSlice(jsonData.Days, day) {
338 t.Error("Couldnt find day in days")
339 }
340}
341
342func TestMonth(t *testing.T) {
343 t.Log("TestMonth")

Callers

nothing calls this directly

Calls 2

DayFunction · 0.85
findInSliceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…