Ejemplo n.º 1
0
 def __lt__(self, rhs):
     return ValueBool(self.v < rhs.v)
Ejemplo n.º 2
0
 def __le__(self, rhs):
     return ValueBool(self.v <= rhs.v)
Ejemplo n.º 3
0
 def __gt__(self, rhs):
     return ValueBool(self.v > rhs.v)
Ejemplo n.º 4
0
 def __ge__(self, rhs):
     return ValueBool(self.v >= rhs.v)
Ejemplo n.º 5
0
 def __eq__(self, rhs):
     return ValueBool(self.v == rhs.v)
Ejemplo n.º 6
0
 def __ne__(self, rhs):
     return ValueBool(self.v != rhs.v)
Ejemplo n.º 7
0
 def __lt__(self, rhs):
     v = int(rhs)
     return ValueBool(self.v < v)
Ejemplo n.º 8
0
 def __le__(self, rhs):
     v = int(rhs)
     return ValueBool(self.v <= v)
Ejemplo n.º 9
0
 def __ge__(self, rhs):
     v = int(rhs)
     return ValueBool(self.v >= v)
Ejemplo n.º 10
0
 def __gt__(self, rhs):
     v = int(rhs)
     return ValueBool(self.v > v)
Ejemplo n.º 11
0
 def __ne__(self, rhs):
     v = int(rhs)
     return ValueBool(self.v != v)
Ejemplo n.º 12
0
 def __eq__(self, rhs):
     v = int(rhs)
     return ValueBool(self.v == v)
Ejemplo n.º 13
0
 def get_val(self):
     return ValueBool(bool(self.val))