Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
[Fork] Test by NikolayPetkov
Four case test:
Person works entirely before shift: False
Person starts work before shift and ends during shift: True
Person starts work before shift and ends after shift: True
Person starts work after shift starts and ends before shift ends: True
Person starts work after shift starts and ends after shift: True
Person works entirely after shift: False

Three case test:
Person works entirely before shift: False
Person starts work before shift and ends during shift: True
Person starts work before shift and ends after shift: True
Person starts work after shift starts and ends before shift ends: True
Person starts work after shift starts and ends after shift: True
Person works entirely after shift: False

Two case test:
Person works entirely before shift: False
Person starts work before shift and ends during shift: True
Person starts work before shift and ends after shift: True
Person starts work after shift starts and ends before shift ends: True
Person starts work after shift starts and ends after shift: True
Person works entirely after shift: False
Cached Result
Last Run: 10:51:35 am
Compile: 0.253s
Execute: 0s
Memory: 8kb
CPU: 0.109s