public void TestVectors() { for (int i = 1; i < 2048; ++i) { string testData = new string('a', i); ulong value = FarshHash64.ComputeHash(Encoding.ASCII.GetBytes(testData)); Assert.Equal(_vectors[i - 1], value); } }
public ulong FarshHash64Test() { return(FarshHash64.ComputeHash(_testData)); }