コード例 #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);
        }