Exemplo n.º 1
0
        public void TestEasterMonday(int easterYear, int expectedMonth, int expectedDay)
        {
            var easterMonday = new WesternEaster(easterYear).EasterMonday;

            Assert.Equal(easterMonday.Year, easterYear);
            Assert.Equal(easterMonday.Month, expectedMonth);
            Assert.Equal(easterMonday.Day, expectedDay);
        }
Exemplo n.º 2
0
        public void TestGoodFriday(int easterYear, int expectedMonth, int expectedDay)
        {
            var goodFriday = new WesternEaster(easterYear).GoodFriday;

            Assert.Equal(goodFriday.Year, easterYear);
            Assert.Equal(goodFriday.Month, expectedMonth);
            Assert.Equal(goodFriday.Day, expectedDay);
        }