From a57f3d51473b10d81752ad66e4c392563ca1c6f8 Mon Sep 17 00:00:00 2001 From: Mario Mulansky Date: Tue, 2 Feb 2016 17:11:12 +0100 Subject: 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. --- test/test_generic_interfaces.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'test') 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() -- cgit v1.2.3