Пример #1
0
        public void is_an_atypical_leap_year()
        {
            var year = new Year();

            year.IsLeap(2000).Should().Be(true);
        }
Пример #2
0
        public void is_a_typical_leap_year()
        {
            var year = new Year();

            year.IsLeap(1996).Should().Be(true);
        }
Пример #3
0
        public void is_an_atypical_common_year()
        {
            var year = new Year();

            year.IsLeap(2100).Should().Be(false);
        }