spec/digest_spec.rb in digest-murmurhash-0.0.1 vs spec/digest_spec.rb in digest-murmurhash-0.1.0

- old
+ new

@@ -51,6 +51,10 @@ it "block_length" do # MurmurHash don't use block. # Therefore `block_length` return chunk size for calculate MurmurHash (equal 4) expect(murmur.block_length).to eq(4); end + + it "to_i" do + expect(murmur.update("murmurhash").to_i).to eq(0xc709abd5); + end end