public void Equals_ObjectSelf_ReturnsTrue()
        {
            var queryPart = new SkipQueryPart();
            object other = queryPart;

            var actual = queryPart.Equals(other);

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

            var actual = queryPart.Equals(other);

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

            var actual = queryPart.Equals(other);

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

            var actual = queryPart.Equals(other);

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

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.True);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 8
0
        public void Equals_Self_ReturnsTrue()
        {
            var queryPart = new SkipQueryPart();
            var other     = queryPart;

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.True);
        }
Esempio n. 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);
        }
Esempio n. 10
0
        public void Equals_SkipQueryPartNull_ReturnsFalse()
        {
            var           queryPart = new SkipQueryPart();
            SkipQueryPart other     = null;

            var actual = queryPart.Equals(other);

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