MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / main

Function main

examples/sortedSet/main.go:40–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40func main() {
41 testZAdd()
42
43 testZScore()
44
45 testZCard()
46
47 testZCount()
48
49 testZMembers()
50
51 testZPeekMax()
52
53 testZPeekMin()
54
55 testZPopMax()
56
57 testZPopMin()
58
59 testZRangeByRank()
60
61 testZRangeByScore()
62
63 testZRank()
64
65 testZRevRank()
66
67 testZRem()
68
69 testZRemRangeByRank()
70}
71
72func testZAdd() {
73 if err := db.Update(

Callers

nothing calls this directly

Calls 15

testZAddFunction · 0.85
testZScoreFunction · 0.85
testZCardFunction · 0.85
testZCountFunction · 0.85
testZMembersFunction · 0.85
testZPeekMaxFunction · 0.85
testZPeekMinFunction · 0.85
testZPopMaxFunction · 0.85
testZPopMinFunction · 0.85
testZRangeByRankFunction · 0.85
testZRangeByScoreFunction · 0.85
testZRankFunction · 0.85

Tested by

no test coverage detected