public void CompareReturnsNegativeOneWhenFirstArgIsNullAndSecondIsNot()
        {
            var second = new InheritedTestClass <string>("Amiga");

            var comparison = AutoOperators.Compare(null, second);

            Assert.Equal(-1, comparison);
        }
        public void CompareReturnsZeroWhenSameReference()
        {
            var same = new InheritedTestClass <string>("Amiga");

            var comparison = AutoOperators.Compare(same, same);

            Assert.Equal(0, comparison);
        }
        public void CompareReturnsPositiveOneWhenSecondArgIsNullAndFirstIsNot()
        {
            var first = new InheritedTestClass <string>("Amiga");

            var comparison = AutoOperators.Compare(first, null);

            Assert.Equal(1, comparison);
        }
        public void CompareReturnsZeroWhenEqualValue()
        {
            var equal1 = new InheritedTestClass <string>("Amiga");
            var equal2 = new InheritedTestClass <string>("Amiga");

            var comparison = AutoOperators.Compare(equal1, equal2);

            Assert.Equal(0, comparison);
        }