def METHOD_NAME(self):
    openInterval = Intervald.open(0., 1.)
    self.assertFalse(openInterval.contains(Intervald.open(0., 0.)))
    self.assertFalse(openInterval.contains(Intervald.closed(-1., 0.)))
    self.assertFalse(openInterval.contains(Intervald.closed(1., 2.)))
    self.assertFalse(openInterval.contains(Intervald.open(0.5, 1.5)))
    self.assertFalse(openInterval.contains(Intervald.open(-0.5, 0.5)))
    self.assertTrue(openInterval.contains(Intervald.open(0.25, 0.75)))
    self.assertFalse(openInterval.contains(Intervald.closed(0., 1.)))
    closedInterval = Intervald.closed(0., 1.)
    self.assertFalse(closedInterval.contains(Intervald.open(0., 0.)))
    self.assertTrue(closedInterval.contains(Intervald.closed(0., 0.)))
    self.assertFalse(closedInterval.contains(Intervald.closed(0.5, 1.5)))
    self.assertFalse(closedInterval.contains(Intervald.closed(-0.5, 0.5)))
    self.assertTrue(closedInterval.contains(Intervald.closed(0.25, 0.75)))
    self.assertTrue(closedInterval.contains(Intervald.open(0., 1.)))