Skip to content

Commit

Permalink
Keep alive & debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Oct 14, 2024
1 parent 0c492dd commit 303b11d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/usecases/function_table/test_function_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ def check_use_table(make_inst, mech_name):


if __name__ == "__main__":
s = h.Section()
s.insert("function_table")

variations = [
(lambda s: None, "function_table"),
(lambda s: s(0.5).function_table, "function_table"),
Expand All @@ -120,6 +123,8 @@ def check_use_table(make_inst, mech_name):
]

for make_instance, mech_name in variations:
print(mech_name, flush=True)

check_constant_1d(make_instance, mech_name)
check_constant_2d(make_instance, mech_name)

Expand Down

0 comments on commit 303b11d

Please sign in to comment.