Example #1
0
        public void Returns1GivenGroupWithLowerCost()
        {
            int result = _groupWithSomeCost.CompareTo(_groupWithNoCost);

            Assert.Equal(1, result);
        }
Example #2
0
        public void Returns1OnNullObject()
        {
            int result = _groupWithNoCost.CompareTo((BookSelectionGroup)null);

            Assert.Equal(1, result);
        }