You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
Both tests we've written so far are for time ranges that overlap each other to some extent. But we should also check that our code gives the expected result in cases where the two time ranges don't overlap!
Following a similar structure to the previous tests, write a test that checks that the overlap between two non-overlapping time ranges (e.g. morning and evening of the same day).
What is a meaningful result for the overlap in this case?
Is the calculation of the overlap in our code correct in this case (if it's not, you should fix it!)?