Skip to content

Commit

Permalink
Remove tests for not vectorized code.
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Oct 25, 2024
1 parent ea43018 commit eb5f4e7
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 166 deletions.
10 changes: 0 additions & 10 deletions test/usecases/function/artificial_functions.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,3 @@ INITIAL {
x = 1.0
gbl = 42.0
}

: A LINEAR block makes a MOD file not VECTORIZED.
STATE {
z
}

LINEAR lin {
~ z = 2
}

38 changes: 0 additions & 38 deletions test/usecases/function/non_threadsafe.mod

This file was deleted.

38 changes: 0 additions & 38 deletions test/usecases/function/point_non_threadsafe.mod

This file was deleted.

4 changes: 0 additions & 4 deletions test/usecases/function/test_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,14 @@ def check_callable(get_instance, has_voltage=True):
s.nseg = nseg

s.insert("functions")
s.insert("non_threadsafe")

coords = [(0.5 + k) * 1.0 / nseg for k in range(nseg)]
values = [0.1 + k for k in range(nseg)]

point_processes = {x: h.point_functions(s(x)) for x in coords}
point_non_threadsafe = {x: h.point_non_threadsafe(s(x)) for x in coords}

art_cells = {x: h.art_functions() for x in coords}

check_callable(lambda x: s(x).functions)
check_callable(lambda x: s(x).non_threadsafe)
check_callable(lambda x: point_processes[x])
check_callable(lambda x: point_non_threadsafe[x])
check_callable(lambda x: art_cells[x], has_voltage=False)
43 changes: 0 additions & 43 deletions test/usecases/global/non_threadsafe.mod

This file was deleted.

33 changes: 0 additions & 33 deletions test/usecases/global/test_non_threadsafe.py

This file was deleted.

0 comments on commit eb5f4e7

Please sign in to comment.