public void PersianDate_Instance_Creates_StringBased_HashCode() { PersianDate pd = PersianDate.Now; int hashcode = pd.ToString("s").GetHashCode(); Assert.AreEqual(hashcode, pd.GetHashCode()); }