()
| 38 | } |
| 39 | |
| 40 | func 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 | |
| 72 | func testZAdd() { |
| 73 | if err := db.Update( |
nothing calls this directly
no test coverage detected