예제 #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))