コード例 #1
0
        public void HashCodeIsTheSameForSameToken()
        {
            SubscriptionToken token = new SubscriptionToken();
            int hashCode            = token.GetHashCode();

            Assert.AreNotEqual(0, hashCode);
            Assert.AreEqual(hashCode, token.GetHashCode());
        }
コード例 #2
0
        public void HashCodeIsTheSameForSameToken()
        {
            SubscriptionToken token = new SubscriptionToken();
            int hashCode = token.GetHashCode();

            Assert.AreNotEqual(0, hashCode);
            Assert.AreEqual(hashCode, token.GetHashCode());
        }
コード例 #3
0
 public void GetHashCode_Should_Not_Be_Zero()
 {
     Assert.NotEqual(0, _token.GetHashCode());
 }