示例#1
0
 def test_call_degrading_func(self):
     f = compile_function(llvmsnippet.call_degrading_func, [bool])
     assert f(True) == llvmsnippet.call_degrading_func(True)
     assert f(False) == llvmsnippet.call_degrading_func(False)
示例#2
0
 def test_call_degrading_func(self):
     f = compile_function(llvmsnippet.call_degrading_func, [bool])
     assert f(True) == llvmsnippet.call_degrading_func(True)
     assert f(False) == llvmsnippet.call_degrading_func(False)
示例#3
0
 def test_call_degrading_func(self):
     #py.test.skip("isinstanceof not implemented")
     f = compile_function(llvmsnippet.call_degrading_func, [bool])
     assert f(True) == llvmsnippet.call_degrading_func(True)
     assert f(False) == llvmsnippet.call_degrading_func(False)
示例#4
0
 def test_call_degrading_func(self):
     #py.test.skip("isinstanceof not implemented")
     f = compile_function(llvmsnippet.call_degrading_func, [bool])
     assert f(True) == llvmsnippet.call_degrading_func(True)
     assert f(False) == llvmsnippet.call_degrading_func(False)