spec/spec_helper.rb in digest-murmurhash-1.0.0 vs spec/spec_helper.rb in digest-murmurhash-1.1.0

- old
+ new

@@ -7,17 +7,15 @@ MurmurHash2, MurmurHash2A, MurmurHash64A, MurmurHash64B, MurmurHashNeutral2, - MurmurHashAligned2 + MurmurHashAligned2, + MurmurHash3_x86_32, + MurmurHash3_x86_128, + MurmurHash3_x64_128 ] end -def seed32 - (0..4).to_a.pack("C4") +def seed_str(klass) + (0..klass::DEFAULT_SEED.length).to_a.pack("C#{klass::DEFAULT_SEED.length}") end - -def seed64 - (0..8).to_a.pack("C8") -end -