@@ -96,8 +96,15 @@ def test_examples_external_devices_examples_live_examples_balanced_random_live_r
9696 def test_examples_external_devices_examples_pushbot_spinnaker_link_example (self ):
9797 self .check_script ("examples/external_devices_examples/pushbot_spinnaker_link_example.py" )
9898
99- def test_examples_if_curr_alpha (self ):
100- self .check_script ("examples/if_curr_alpha.py" )
99+ def test_examples_if_curr_alpha_combined (self ):
100+ from examples .if_curr_alpha import run_script
101+ run_script (split = False )
102+ self .check_binaries_used (["IF_curr_alpha.aplx" ])
103+
104+ def test_examples_if_curr_alpha_split (self ):
105+ from examples .if_curr_alpha import run_script
106+ run_script (split = True )
107+ self .check_binaries_used (["IF_curr_alpha_neuron.aplx" , "synapses.aplx" ])
101108
102109 def test_examples_stdp_example_izk (self ):
103110 self .check_script ("examples/stdp_example_izk.py" )
@@ -150,19 +157,6 @@ def test_examples_stdp_example_get_plastic_params(self):
150157 def test_examples_extra_models_examples_LGN_Izhikevich (self ):
151158 self .check_script ("examples/extra_models_examples/LGN_Izhikevich.py" )
152159
153- def test_examples_extra_models_examples_vogel_2011_vogels_2011_live_combined (self ):
154- from examples .extra_models_examples .vogel_2011 .vogels_2011_live import run_script
155- run_script (split = False )
156- self .check_binaries_used (["IF_curr_exp_stdp_mad_vogels_2011_additive" ])
157-
158- def test_examples_extra_models_examples_vogel_2011_vogels_2011_live_split (self ):
159- from examples .extra_models_examples .vogel_2011 .vogels_2011_live import run_script
160- run_script (split = True )
161- self .check_binaries_used (["synapses_stdp_mad_vogels_2011_additive" ])
162-
163- # Not testing file due to: Unhandled main
164- # examples/extra_models_examples/vogel_2011/vogels_2011.py
165-
166160 def test_examples_extra_models_examples_stdp_associative_memory (self ):
167161 self .check_script ("examples/extra_models_examples/stdp_associative_memory.py" )
168162
@@ -196,6 +190,26 @@ def test_examples_extra_models_examples_IF_curr_exp_sEMD_split(self):
196190 def test_examples_extra_models_examples_IF_curr_delta (self ):
197191 self .check_script ("examples/extra_models_examples/IF_curr_delta.py" )
198192
193+ def test_examples_extra_models_examples_vogels_2011_live_combined (self ):
194+ from examples .extra_models_examples .vogels_2011_live import run_script
195+ run_script (split = False )
196+ self .check_binaries_used (["IF_curr_exp_stdp_mad_vogels_2011_additive" ])
197+
198+ def test_examples_extra_models_examples_vogels_2011_live_split (self ):
199+ from examples .extra_models_examples .vogels_2011_live import run_script
200+ run_script (split = True )
201+ self .check_binaries_used (["synapses_stdp_mad_vogels_2011_additive" ])
202+
203+ def test_examples_extra_models_examples_vogels_2011_combined (self ):
204+ from examples .extra_models_examples .vogels_2011 import run_script
205+ run_script (split = False )
206+ self .check_binaries_used (["IF_curr_exp_stdp_mad_vogels_2011_additive.aplx" ])
207+
208+ def test_examples_extra_models_examples_vogels_2011_split (self ):
209+ from examples .extra_models_examples .vogels_2011 import run_script
210+ run_script (split = True )
211+ self .check_binaries_used (["IF_curr_exp_neuron.aplx" , "synapses_stdp_mad_vogels_2011_additive.aplx" ])
212+
199213 def test_examples_extra_models_examples_stdp_example_izk_cond (self ):
200214 self .check_script ("examples/extra_models_examples/stdp_example_izk_cond.py" )
201215
0 commit comments