Sha256: bc257d03418b3f1761bb72d0deff1e75f9fdd8809b3909c977a383f503c8aa3b
Contents?: true
Size: 381 Bytes
Versions: 13
Compression:
Stored size: 381 Bytes
Contents
require 'test_helper' class CacheHashTest < IdentityCache::TestCase def test_memcache_hash prng = Random.new(Time.now.to_i) 3.times do random_str = Array.new(200){rand(36).to_s(36)}.join hash_val = IdentityCache.memcache_hash(random_str) assert hash_val assert_kind_of Numeric, hash_val assert_equal 0, (hash_val >> 64) end end end
Version data entries
13 entries across 13 versions & 1 rubygems