Sha256: 5a062d091b9ebdecacc256086842a760fc250415b03c820ca79fa000b7d5427f

Contents?: true

Size: 336 Bytes

Versions: 3

Compression:

Stored size: 336 Bytes

Contents

require_relative "helper"
require_relative "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

3 entries across 3 versions & 1 rubygems

Version Path
redis-4.0.2 test/distributed_commands_on_sorted_sets_test.rb
redis-4.0.1 test/distributed_commands_on_sorted_sets_test.rb
redis-4.0.0 test/distributed_commands_on_sorted_sets_test.rb