summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMario Mulansky <mario.mulansky@gmx.net>2016-02-02 17:11:12 +0100
committerMario Mulansky <mario.mulansky@gmx.net>2016-02-02 17:11:12 +0100
commita57f3d51473b10d81752ad66e4c392563ca1c6f8 (patch)
treec2794e68688a3643e685c6adca39972e592a1179 /test
parentea3709e2f4367cb539acc26ec8e05b686d6bf836 (diff)
new generic interface for spike_sync functions
Similar to the isi and spike distance functions, also the spike sync functions now support the new generic interface.
Diffstat (limited to 'test')
-rw-r--r--test/test_generic_interfaces.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/test_generic_interfaces.py b/test/test_generic_interfaces.py
index ee87be4..7f08067 100644
--- a/test/test_generic_interfaces.py
+++ b/test/test_generic_interfaces.py
@@ -1,4 +1,4 @@
-""" test_isi_interface.py
+""" test_generic_interface.py
Tests the generic interfaces of the profile and distance functions
@@ -88,6 +88,18 @@ def test_spike_distance():
check_func(spk.spike_distance)
+def test_spike_sync_profile():
+ check_func(dist_from_prof(spk.spike_sync_profile))
+
+
+def test_spike_sync():
+ check_func(spk.spike_sync)
+
+
if __name__ == "__main__":
test_isi_profile()
test_isi_distance()
+ test_spike_profile()
+ test_spike_distance()
+ test_spike_sync_profile()
+ test_spike_sync()