示例#1
0
 def test_abolish(self):
   from dao.builtins.rule import abolish
   eq_(eval(let([(f,function([[1], 1]))], abolish(f, 1))), {})
示例#2
0
 def test_abolish(self):
     from dao.builtins.rule import abolish
     eq_(eval(let([(f, function([[1], 1]))], abolish(f, 1))), {})
示例#3
0
 def test7(self):
     eq_(preparse(-fun.a / 3), abolish(a, 3))
示例#4
0
文件: testdinpy.py 项目: chaosim/dao
 def test7(self):
   eq_(preparse(-fun. a/3),abolish(a,3))