History

python/tests/test_zero_crossing_rate.py: clean up, chmod +x

Paul Brossier committed 12 years ago

Commit 89e9e711 parent 634c12f1 file · +2 −6Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/tests/test_zero_crossing_rate.py+2−6
@@ -1,9 +1,9 @@
1−from aubio import fvec, zero_crossing_rate
2−
31 #! /usr/bin/env python
42
53 from numpy.testing import TestCase
64
5+from aubio import fvec, zero_crossing_rate
6+
77 buf_size = 2048
88
99 class zero_crossing_rate_test_case(TestCase):
@@ -11,10 +11,6 @@ class zero_crossing_rate_test_case(TestCase): · 1 unmodified line
1111 def setUp(self):
1212 self.vector = fvec(buf_size)
1313
14− def test(self):
15− """ create and delete fvec """
16− pass
17−
1814 def test_zeroes(self):
1915 """ check zero crossing rate on a buffer of 0. """
2016 self.assertEqual(0., zero_crossing_rate(self.vector))

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t