Exemple #1
0
        public void CountDaysTest(int day, int month, int year, int expected)
        {
            DateTime    date     = new DateTime(year, month, day);
            DaysCounter days     = new DaysCounter();
            int         received = days.CountDays(date);

            Assert.Equal(expected, received);
        }
Exemple #2
0
 private void Awake()
 {
     singleton = this;
 }