public void Null() { var vs = new VALS(null); Aver.IsNull(vs.StringValue); Aver.AreEqual(0, vs.Length); Aver.AreEqual(0, vs.GetHashCode()); }
public void GetHashCode_Equals(string s1, string s2, bool eq) { var v1 = new VALS(s1); var v2 = new VALS(s2); Aver.IsTrue(eq ^ !(v1.GetHashCode() == v2.GetHashCode())); Aver.IsTrue(eq ^ !(v1 == v2)); }