public void Reverse_empty_list_returns_empty_list()
        {
            var items = new List <int>();

            ListQuestions.Reverse(items);

            Assert.That(items, Is.Empty);
        }
        public void Reverse_list_with_odd_number_of_items_returns_reversed_list()
        {
            var items = new List <int> {
                1, 2, 3, 4, 5
            };

            ListQuestions.Reverse(items);

            Assert.That(items, Is.EquivalentTo(new[] { 5, 4, 3, 2, 1 }));
        }
        public void Reverse_list_with_one_item_returns_list_with_one_item()
        {
            var items = new List <int> {
                1
            };

            ListQuestions.Reverse(items);

            Assert.That(items.Count, Is.EqualTo(1));
        }