示例#1
0
文件: symbol.py 项目: halgari/cljvm
 def __eq__(self, other):
     from system.helpers import equals, w_true
     return equals(self, other) is w_true
示例#2
0
文件: integer.py 项目: halgari/cljvm
def int_add(self, other):
    assert equals(core.type(other), _tp_integer)
    return W_Integer(self.int() + other.int())
示例#3
0
文件: util.py 项目: halgari/cljvm
def assertEqual(self, first, other):
    from system.helpers import equals
    from bool import w_true

    self.assertTrue(equals(first, other) is w_true)