Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)