Example #1
0
        public void TestMethod1()
        {
            var tickets = TicketHelper.GenerateTickets();
            var sorted  = TicketSortManager.Sort(tickets);

            bool result = TicketHelper.IsOrdered(sorted.ToArray());

            Assert.AreEqual(result, true);
        }
Example #2
0
        static void Main(string[] args)
        {
            var tickets = TicketHelper.GenerateTickets();

            TicketHelper.DisplayTickets(tickets);

            Console.WriteLine("****-------------------------*****");

            var sorted = TicketSortManager.Sort(tickets);

            TicketHelper.DisplayTickets(sorted);
        }