예제 #1
0
        public void Equals_ObjectSelf_ReturnsTrue()
        {
            var queryPart = new SkipQueryPart();
            object other = queryPart;

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.True);
        }
예제 #2
0
        public void Equals_ObjectNull_ReturnsFalse()
        {
            var queryPart = new SkipQueryPart();
            object other = null;

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.False);
        }
예제 #3
0
        public void Equals_ObjectOfDifferentType_ReturnsFalse()
        {
            var queryPart = new SkipQueryPart();
            object other = String.Empty;

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.False);
        }
예제 #4
0
        public void Equals_AnotherDifferentSkipQueryPart_ReturnsFalse()
        {
            var queryPart = new SkipQueryPart();
            var other = new SkipQueryPart(3);

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.False);
        }
예제 #5
0
        public void Equals_ObjectAnotherEquivalentSkipQueryPart_ReturnsTrue()
        {
            var queryPart = new SkipQueryPart();
            object other = new SkipQueryPart();

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.True);
        }
예제 #6
0
        public void Equals_ObjectAnotherEquivalentSkipQueryPart_ReturnsTrue()
        {
            var    queryPart = new SkipQueryPart();
            object other     = new SkipQueryPart();

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.True);
        }
예제 #7
0
        public void Equals_AnotherDifferentSkipQueryPart_ReturnsFalse()
        {
            var queryPart = new SkipQueryPart();
            var other     = new SkipQueryPart(3);

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.False);
        }
예제 #8
0
        public void Equals_Self_ReturnsTrue()
        {
            var queryPart = new SkipQueryPart();
            var other     = queryPart;

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.True);
        }
예제 #9
0
        public void Equals_ObjectOfDifferentType_ReturnsFalse()
        {
            var    queryPart = new SkipQueryPart();
            object other     = String.Empty;

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.False);
        }
예제 #10
0
        public void Equals_SkipQueryPartNull_ReturnsFalse()
        {
            var           queryPart = new SkipQueryPart();
            SkipQueryPart other     = null;

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.False);
        }