Skip to content
Snippets Groups Projects
Commit b2e70f54 authored by Bas Nijholt's avatar Bas Nijholt
Browse files

adds test that checks for the expected discretizer returned function name

parent c1bcca9b
No related branches found
No related tags found
No related merge requests found
......@@ -404,6 +404,10 @@ def test_numeric_functions_with_subs(e_to_subs, e, subs):
assert hop_direct == hop_subs
def test_onsite_hopping_function_name():
template = str(discretize('A * k_x'))
assert 'def hopping' in template
def test_numeric_functions_advance():
hams = [
......
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