Example #1
0
 [Run] public void FNV1A64_Bytes2() => Aver.AreEqual(0x089c4407b545986aUL, ShardKey.ForBytes(new byte[] { (byte)'a', (byte)'b' }));
Example #2
0
 [Run] public void FNV1A64_Bytes0b() => Aver.AreEqual(0ul, ShardKey.ForBytes(new byte[0]));
Example #3
0
 [Run] public void FNV1A64_Bytes1() => Aver.AreEqual(0xaf63dc4c8601ec8cUL, ShardKey.ForBytes(new byte[] { (byte)'a' }));
Example #4
0
 [Run] public void FNV1A64_Bytes0a() => Aver.AreEqual(0ul, ShardKey.ForBytes(null));