Remove min by shift type boundaries, improve logging, add more tests, add logs in tests, move fixtures in separate file, move restrictions_violated logic into valid_residents of next slot
This commit is contained in:
@@ -45,7 +45,7 @@ impl Slot {
|
||||
day: self.day,
|
||||
position: ShiftPosition::Second,
|
||||
},
|
||||
_ => Self {
|
||||
ShiftPosition::First | ShiftPosition::Second => Self {
|
||||
day: self.day.next(),
|
||||
position: ShiftPosition::First,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user