Beispiel #1
0
        public void Equals_WithOtherObject_ReturnsFalse()
        {
            var start    = new Cursor("OK");
            var end      = start.Advance(1);
            var subjectA = new ParseResult <int>(start, end, 0);
            var subjectB = new object();

            Assert.That(subjectA.Equals(subjectB), Is.False);
        }
        public void Equals_WithOtherObject_ReturnsFalse()
        {
            var start = new Cursor("OK", 0);
            var end = start.Advance(1);
            var subjectA = new ParseResult<int>(start, end, 0);
            var subjectB = new object();

            Assert.That(subjectA.Equals(subjectB), Is.False);
        }