public void ProcessAttendants_Test()
        {
            var attendants = LoadDemoAttendants1();

            var result = new AttendeBusiness().ProcessAttendants(attendants);

            Assert.AreEqual("Raccoon City", result.FirstOrDefault().City);
            Assert.AreEqual(1, result.Count);
            Assert.AreEqual(0, DateTime.Compare(result.FirstOrDefault().StartDate, new DateTime(2019, 7, 20)));
            Assert.AreEqual(0, DateTime.Compare(result.FirstOrDefault().EndDate, new DateTime(2019, 7, 21)));
            Assert.AreEqual(2, result.FirstOrDefault().Total);
        }
        public void ProcessAttendants_Test2()
        {
            var attendants = LoadDemoAttendants2();

            var result = new AttendeBusiness().ProcessAttendants(attendants);

            Assert.AreEqual(2, result.Count);
            Assert.AreEqual(0, DateTime.Compare(result.FirstOrDefault(t => t.City == "Raccoon City").StartDate, new DateTime(2019, 8, 15)));
            Assert.AreEqual(0, DateTime.Compare(result.FirstOrDefault(t => t.City == "Raccoon City").EndDate, new DateTime(2019, 8, 16)));
            Assert.AreEqual(3, result.FirstOrDefault(t => t.City == "Raccoon City").Total);

            Assert.AreEqual(0, DateTime.Compare(result.FirstOrDefault(t => t.City == "New York").StartDate, new DateTime(2019, 7, 29)));
            Assert.AreEqual(0, DateTime.Compare(result.FirstOrDefault(t => t.City == "New York").EndDate, new DateTime(2019, 7, 30)));
            Assert.AreEqual(2, result.FirstOrDefault(t => t.City == "New York").Total);
        }