public void ComputeHash32Test(byte[] data, uint seed, uint expected) { Murmur3 hasher = new Murmur3(); uint actual = hasher.ComputeHash32(data, seed); Assert.Equal(expected, actual); }
public void ComputeHash32_ExceptionTest() { Murmur3 hasher = new Murmur3(); Assert.Throws <ArgumentNullException>(() => hasher.ComputeHash32(null, 0)); }