コード例 #1
0
ファイル: testbuiltin.py プロジェクト: charyorde/dao
 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))