コード例 #1
0
        private void OutingsTotalCost()
        {
            Clear();
            Double?outingsTotal = _outingsRepo.GetOutingsTotalCost();

            WriteLine($"\nTotal Outings Cost: ${outingsTotal}");
        }
コード例 #2
0
        public void GetOutingsTotalTest()
        {
            SetTestContent();

            double?outingTotal = _outingsTestRepo.GetOutingsTotalCost();

            Assert.AreEqual(outingTotal, outing.CostOfEvent);
        }