Sha256: 00d0511d3758c50920b6ffc4623676db4a7f757dc7402756d4206378969cf145

Contents?: true

Size: 379 Bytes

Versions: 23

Compression:

Stored size: 379 Bytes

Contents

# encoding: UTF-8

require File.expand_path("helper", File.dirname(__FILE__))
require "lint/sorted_sets"

class TestDistributedCommandsOnSortedSets < Test::Unit::TestCase

  include Helper::Distributed
  include Lint::SortedSets

  def test_zcount
    r.zadd "foo", 1, "s1"
    r.zadd "foo", 2, "s2"
    r.zadd "foo", 3, "s3"

    assert_equal 2, r.zcount("foo", 2, 3)
  end
end

Version data entries

23 entries across 22 versions & 8 rubygems

Version Path
finsync_redis-3.3.5 test/distributed_commands_on_sorted_sets_test.rb
redis-3.3.5 test/distributed_commands_on_sorted_sets_test.rb
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/redis-3.3.3/test/distributed_commands_on_sorted_sets_test.rb
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/redis-3.3.3/test/distributed_commands_on_sorted_sets_test.rb
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/redis-3.3.3/test/distributed_commands_on_sorted_sets_test.rb
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/redis-3.3.3/test/distributed_commands_on_sorted_sets_test.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/redis-3.3.3/test/distributed_commands_on_sorted_sets_test.rb
redis-3.3.3 test/distributed_commands_on_sorted_sets_test.rb
abaci-0.3.0 vendor/bundle/gems/redis-3.3.1/test/distributed_commands_on_sorted_sets_test.rb
abaci-0.3.0 vendor/bundle/gems/redis-3.3.2/test/distributed_commands_on_sorted_sets_test.rb
redis-3.3.2 test/distributed_commands_on_sorted_sets_test.rb
redis-3.3.1 test/distributed_commands_on_sorted_sets_test.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/test/distributed_commands_on_sorted_sets_test.rb
redis-3.3.0 test/distributed_commands_on_sorted_sets_test.rb
discourse-redis-3.2.2 test/distributed_commands_on_sorted_sets_test.rb
redis-3.2.2 test/distributed_commands_on_sorted_sets_test.rb
redis-3.2.1 test/distributed_commands_on_sorted_sets_test.rb
redis-3.2.0 test/distributed_commands_on_sorted_sets_test.rb
redis2-namespaced-3.0.7.1 test/distributed_commands_on_sorted_sets_test.rb
redis2-namespaced-3.0.7 test/distributed_commands_on_sorted_sets_test.rb