public void Test_Get() { for (int i = 0; i < _testStrings.Length; ++i) { Assert.AreEqual(_expectedHashes[i], StringHashCode.Get(_testStrings[i])); } }
public StringKey(string str) { Value = str; HashCode = StringHashCode.Calculate(str); }