def test_min_greater_max(self):
    self.assertRaises(ValueError, types.Integer, min=100, max=50)
    self.assertRaises(ValueError, types.Integer, min=(- 50), max=(- 100))
    self.assertRaises(ValueError, types.Integer, min=0, max=(- 50))
    self.assertRaises(ValueError, types.Integer, min=50, max=0)
def test_min_greater_max(self):
    self.assertRaises(ValueError, types.Integer, min=100, max=50)
    self.assertRaises(ValueError, types.Integer, min=(- 50), max=(- 100))
    self.assertRaises(ValueError, types.Integer, min=0, max=(- 50))
    self.assertRaises(ValueError, types.Integer, min=50, max=0)