MCPcopy Create free account
hub / github.com/1995parham/linkedlist / Less

Method Less

pkg/list/sorted_test.go:10–12  ·  view source on GitHub ↗
(b Int)

Source from the content-addressed store, hash-verified

8type Int int
9
10func (a Int) Less(b Int) bool {
11 return a < b
12}
13
14func TestSortedInsertUnordered(t *testing.T) {
15 sl := NewSorted[Int]()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected