Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Exercise 1+ (no overlap) #6

@alessandrofelder

Description

@alessandrofelder

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!)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions