MCPcopy Create free account
hub / github.com/Soft/iter / TestEmpty

Function TestEmpty

iterator_test.go:60–63  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

58}
59
60func TestEmpty(t *testing.T) {
61 it := Empty[int]()
62 equals(t, it.Next().IsNone(), true)
63}
64
65func TestOnce(t *testing.T) {
66 it := Once[int](10)

Callers

nothing calls this directly

Calls 3

equalsFunction · 0.85
IsNoneMethod · 0.80
NextMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…