예제 #1
0
        public void WeekdayConstructor_SettingDayOfTheWeek_CorrectInt()
        {
            //arrange
            int dayOfTheYear = 2;
            int month        = 1;
            int day          = 29;
            int year         = 2064;
            //act
            Weekday newWeekday = new Weekday(month, day, year);

            //assert
            Assert.Equal(dayOfTheYear, newWeekday.GetDayOfTheYear());
        }