Commit Graph

11 Commits

Author SHA1 Message Date
Kelvin Clement Mwinuka
0e657baa2e ZINTERSTORE command handler now uses new Intersect divide & conquer function instead of the old Intersect receiver function.
Intersect receiver function on SortedSet reference has been deleted as it's no longer in use.
Added test for ZINTERSTORE command handler.
2024-02-20 23:25:22 +08:00
Kelvin Clement Mwinuka
a3bb3e9b34 Created divide & conquer Intersect function to calculate the intersection between 2 sorted sets.
Used new Intersect function to calculate intersection in ZINTER command handler.
Implemented unit test for ZINTER command handler.
2024-02-20 22:14:03 +08:00
Kelvin Clement Mwinuka
bb5ea92990 Added unit test for ZDIFFSTORE command handler 2024-02-20 05:50:21 +08:00
Kelvin Clement Mwinuka
59b9e5da45 Implemented test for ZDIFF command handler 2024-02-20 05:10:58 +08:00
Kelvin Clement Mwinuka
00c0fb5442 Implemented test for ZLEXCOUNT command handler 2024-02-20 03:39:13 +08:00
Kelvin Clement Mwinuka
6bb3c83758 Implemented test for ZCOUNT command handler 2024-02-20 03:17:53 +08:00
Kelvin Clement Mwinuka
5b6946d8f2 Added infinity scores to ZADD command test 2024-02-20 02:59:47 +08:00
Kelvin Clement Mwinuka
4e2d34b05d Implemented unit test for ZCARD command handler 2024-02-20 02:57:26 +08:00
Kelvin Clement Mwinuka
f5015a8cc6 Implemented test case for ZADD command handler. Added error returns for incompatible flags in ZADD commands 2024-02-20 01:33:46 +08:00
Kelvin Clement Mwinuka
a84d1b4d31 Created test skeleton for sorted set test suite 2024-02-18 22:56:10 +08:00
Kelvin Clement Mwinuka
51e88c3559 Created test file for sorted_set commands 2024-02-17 01:54:12 +08:00