Пример #1
0
        public void IsAbsent_HasTimeInEntry()
        {
            var dailyAttendance = new DailyAttendance();

            dailyAttendance.RegisterTimeIn(new DateTime(2020, 01, 01));

            dailyAttendance.IsAbsent.Should().BeTrue();
        }
Пример #2
0
        public void IsNotAbsent_HasBothTimeInAndTimeOutEntry()
        {
            var dailyAttendance = new DailyAttendance();

            dailyAttendance.RegisterTimeIn(new DateTime(2020, 01, 01));
            dailyAttendance.RegisterTimeOut(new DateTime(2020, 01, 01));

            dailyAttendance.IsAbsent.Should().BeFalse();
        }
Пример #3
0
        public void IsAbsent_NoActionTakenYet()
        {
            var dailyAttendance = new DailyAttendance();

            dailyAttendance.IsAbsent.Should().BeTrue();
        }