Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed May 8, 2017
1 parent 3bf42f8 commit 4d5908a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def test_get_gsyn(self):
neurons_per_core=neurons_per_core, delay=delay,
run_times=[runtime], gsyn_path=gsyn_path)
spikes = synfire_run.get_output_pop_spikes()
gsyn = synfire_run.get_output_pop_gsyn()

# no check of spikes length as the system overloads
spike_checker.synfire_spike_checker(spikes, n_neurons)
# compares to own printout so ok
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def test_get_gsyn(self):
neurons_per_core=neurons_per_core, delay=delay,
run_times=[runtime])
spikes = synfire_run.get_output_pop_spikes()
gsyn = synfire_run.get_output_pop_gsyn()

self.assertEquals(12, len(spikes))
spike_checker.synfire_spike_checker(spikes, n_neurons)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ def test_get_gsyn(self):
neurons_per_core=neurons_per_core, delay=delay,
run_times=[runtime], gsyn_path=gsyn_path)
spikes = synfire_run.get_output_pop_spikes()
gsyn = synfire_run.get_output_pop_gsyn()

self.assertEquals(56, len(spikes))
self.assertEquals(12, len(spikes))
spike_checker.synfire_spike_checker(spikes, n_neurons)
gsyn_tools.check_path_gysn(gsyn_path, n_neurons, runtime, gsyn)
os.remove(gsyn_path)
Expand Down

0 comments on commit 4d5908a

Please sign in to comment.