def METHOD_NAME(self):
    openInterval = Intervald.open(0., 1.)
    self.assertAlmostEqual(openInterval.left_value(), 0.)
    self.assertFalse(openInterval.is_left_closed())
    self.assertAlmostEqual(openInterval.right_value(), 1.)
    self.assertFalse(openInterval.is_right_closed())
    leftClosedInterval = Intervald.left_closed(0., 1.)
    self.assertAlmostEqual(leftClosedInterval.left_value(), 0.)
    self.assertTrue(leftClosedInterval.is_left_closed())
    self.assertAlmostEqual(leftClosedInterval.right_value(), 1.)
    self.assertFalse(leftClosedInterval.is_right_closed())
    rightClosedInterval = Intervald.right_closed(0., 1.)
    self.assertAlmostEqual(rightClosedInterval.left_value(), 0.)
    self.assertFalse(rightClosedInterval.is_left_closed())
    self.assertAlmostEqual(rightClosedInterval.right_value(), 1.)
    self.assertTrue(rightClosedInterval.is_right_closed())
    closedInterval = Intervald.closed(0., 1.)
    self.assertAlmostEqual(closedInterval.left_value(), 0.)
    self.assertTrue(closedInterval.is_left_closed())
    self.assertAlmostEqual(closedInterval.right_value(), 1.)
    self.assertTrue(closedInterval.is_right_closed())