Example #1
0
        public void totalCostCombine()
        {
            double finalCost = _OutingRepo.CalcCombCosttotal();

            Console.WriteLine($"Total cost of all outing {finalCost}\n");
            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();
        }
        public void eventTotal()
        {
            OutingRepo outingRepo = new OutingRepo();

            outingRepo.SeedList();

            double actual   = outingRepo.CalcCombCosttotal();
            double expected = 1714.5d;

            Assert.AreEqual(expected, actual);
        }