public void CompareShouldReturnYMinusX()
        {
            DescendingOrderComparer target = new DescendingOrderComparer();

            var actual = target.Compare(3, 5);
            Assert.AreEqual(2, actual);
        }
        public void OrderByShouldBeDescending()
        {
            DescendingOrderComparer target = new DescendingOrderComparer();

            var arr = new[] { 3, 1, 5, 2, 4 };
            var sorted = arr.OrderBy(item => item, target).ToArray();

            CollectionAssert.AreEqual(new[] { 5, 4, 3, 2, 1 }, sorted);
        }