redict/tests/unit/type
Alon Diamant 288028876f Added <count> parameter to SPOP:
spopCommand() now runs spopWithCountCommand() in case the <count> param is found.
Added intsetRandomMembers() to Intset: Copies N random members from the set into inputted 'values' array. Uses either the Knuth or Floyd sample algos depending on ratio count/size.
Added setTypeRandomElements() to SET type: Returns a number of random elements from a non empty set. This is a version of setTypeRandomElement() that is modified in order to return multiple entries, using dictGetRandomKeys() and intsetRandomMembers().
Added tests for SPOP with <count>: unit/type/set, unit/scripting, integration/aof
--
Cleaned up code a bit to match with required Redis coding style
2014-12-14 12:25:42 +02:00
..
hash.tcl Added a new hash fuzzy tester. 2012-06-12 15:21:54 +02:00
list-2.tcl list test further split into smaller units 2011-07-11 11:41:23 +02:00
list-3.tcl Ziplist encoding now tested with negative integers as well. 2012-04-23 17:27:46 +02:00
list-common.tcl list test split into smaller parts 2011-07-11 11:30:46 +02:00
list.tcl Fix blocking operations from missing new lists 2014-05-21 09:52:52 -04:00
set.tcl Added <count> parameter to SPOP: 2014-12-14 12:25:42 +02:00
zset.tcl Test: check sorted set elements order after union. 2014-07-22 17:52:04 +02:00