From 4dd3beaccc4ae5a2830aa28e31c18d4c890c48a6 Mon Sep 17 00:00:00 2001 From: David Hendriks <davidhendriks93@gmail.com> Date: Wed, 12 Aug 2020 22:08:16 +0100 Subject: [PATCH] added some prints in the test script --- tests/python_API_test.py | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/tests/python_API_test.py b/tests/python_API_test.py index dd5775be7..8c352914c 100755 --- a/tests/python_API_test.py +++ b/tests/python_API_test.py @@ -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) -- GitLab