Skip to content
Snippets Groups Projects
Commit 4dd3beac authored by David Hendriks's avatar David Hendriks
Browse files

added some prints in the test script

parent 982eaaec
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,8 @@ def test_run_system():
output = binary_c_python_api.run_system(argstring=argstring)
print("\n\nBinary_c output:")
print("function: test_run_system")
print("Binary_c output:")
print(output)
......@@ -71,7 +72,8 @@ def test_run_system_with_log():
output = binary_c_python_api.run_system(argstring=argstring, write_logfile=1)
print("\n\nBinary_c output:")
print("function: test_run_system_with_log")
print("Binary_c output:")
print(output)
......@@ -112,31 +114,46 @@ def test_run_system_with_custom_logging():
max_evolution_time,
)
print("function: test_run_system_with_custom_logging")
print("memory adress of custom logging functions:")
print(func_memaddr)
out = binary_c_python_api.run_system(
argstring, custom_logging_func_memaddr=func_memaddr
)
print("binary_c output:")
print(out)
# Testing other utility functions
def test_return_help():
out = binary_c_python_api.return_help("M_1")
print("function: test_return_help")
print("help output:")
print(out)
def test_return_arglines():
out = binary_c_python_api.return_arglines()
print("function: test_return_arglines")
print("arglines output:")
print(out)
def test_return_help_all():
out = binary_c_python_api.return_help_all("M_1")
print("function: test_return_help_all")
print("help all output:")
print(out)
def test_return_version_info():
out = binary_c_python_api.return_version_info()
print("function: test_return_version_info")
print("version info output:")
print(out)
......@@ -145,6 +162,9 @@ def test_return_version_info():
def test_return_store():
out = binary_c_python_api.return_store("")
print("function: test_return_store")
print("store memory adress:")
print(out)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment