Пример #1
0
        public void Equals_Valid_EqualsTrue()
        {
            var comparer = new FakeEqualityComparer();

            Assert.True(comparer.Equals("test", "test"));
        }
Пример #2
0
        public void GetHashCode_Valid_NotEqualZero()
        {
            var comparer = new FakeEqualityComparer();

            Assert.NotEqual(0, comparer.GetHashCode("test"));
        }
Пример #3
0
        public void Constructor_Valid_NotNull()
        {
            var comparer = new FakeEqualityComparer();

            Assert.NotNull(comparer);
        }