コード例 #1
0
        public void BirthdaysThisMonth()
        {
            var celebrants = new Celebrants(fakeList);

            int actual = celebrants.CelebrantsThisMonth.Count;

            Assert.AreEqual(2, actual);
        }
コード例 #2
0
        public void BirthdaysUpcoming()
        {
            var celebrants = new Celebrants(fakeList);

            int actual = celebrants.UpcomingCelebrants.Count;

            Assert.AreEqual(3, actual);
        }
コード例 #3
0
        public void BirthdaysToday()
        {
            var celebrants = new Celebrants(fakeList);

            int actual = celebrants.CelebrantsToday.Count;

            Assert.AreEqual(1, actual);
        }