Sha256: ebfbc7c336d69f02447a1bce0bdb9c80d7a38e5752b071af094624dba4053bf9
Contents?: true
Size: 545 Bytes
Versions: 12
Compression:
Stored size: 545 Bytes
Contents
# encoding: utf-8 require 'helper' class UidTest < Test::Unit::TestCase def test_string_uids assert_equal(578656804, "actual".crc32) assert_equal("5157e3c765af93679ea07052f30f0a6e", "actual".md5) assert_equal(1989069975706612581, "actual".uid64) end def test_hash_uids assert_equal(2929690870, {1=>1}.crc32) assert_equal("d0bd571dc19c083d82f023c9666c5574", {1=>1}.md5) assert_equal(3616698580463597365, {1=>1}.uid64) end end
Version data entries
12 entries across 12 versions & 2 rubygems