Using ScalaCheck and ScalaTest test the two implementation of finding intervals that contain a given interval work correctly.