Rewrite eval tests to allow for simple asserts

Most of the test code is left in C++ since this is the
intended use case for the eval functions.
This commit is contained in:
Dean Moldovan
2016-08-18 16:55:26 +02:00
parent ec0d38ef25
commit 3b44daedf6
3 changed files with 71 additions and 96 deletions

View File

@@ -1,4 +1,4 @@
# This file is called from 'test_eval.py'
if 'call_test2' in globals():
if 'call_test2' in locals():
call_test2(y)