spec/spec_helper.rb in digest-murmurhash-0.2.3 vs spec/spec_helper.rb in digest-murmurhash-0.3.0

- old
+ new

@@ -1,2 +1,23 @@ require 'digest/murmurhash' include Digest + +def all + [ + MurmurHash1, + MurmurHash2, + MurmurHash2A, + MurmurHash64A, + MurmurHash64B, + MurmurHashNeutral2, + MurmurHashAligned2 + ] +end + +def seed32 + (0..4).to_a.pack("C4") +end + +def seed64 + (0..8).to_a.pack("C8") +end +