def test_wrong_type_contain_set(self):
     range_object = Range('(-1,3]')
     value = 'type-error'
     with self.assertRaises(TypeError):
         range_object.contains_set(value)
 def test_not_contain_set(self):
     range_object = Range('(-1,3]')
     values = [0, 2, 3, 99]
     self.assertFalse(range_object.contains_set(values))
 def test_contain_set(self):
     range_object = Range('(-1,3]')
     values = [0, 2, 3]
     self.assertTrue(range_object.contains_set(values))