History

[test] pass checks in double precision, rename hztomel

Paul Brossier committed 8 years ago

Commit 0d07a2a1 parent 28869841 file · +1 −1Browse files

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

Unified · Split

python/tests/test_hztomel.pyrenamed from python/tests/test_meltohz.py+1−1
@@ -15,7 +15,7 @@ class aubio_hztomel_test_case(TestCase): · 14 unmodified lines
15 def test_hztomel(self):15 def test_hztomel(self):
16 assert_equal(hztomel(0.), 0.)16 assert_equal(hztomel(0.), 0.)
17 assert_almost_equal(hztomel(400. / 3.), 2., decimal=5)17 assert_almost_equal(hztomel(400. / 3.), 2., decimal=5)
18 assert_equal(hztomel(1000. / 3), 5.)18 assert_almost_equal(hztomel(1000. / 3), 5.)
19 assert_equal(hztomel(200.), 3.)19 assert_equal(hztomel(200.), 3.)
20 assert_almost_equal(hztomel(1000.), 15)20 assert_almost_equal(hztomel(1000.), 15)
21 assert_almost_equal(hztomel(6400), 42)21 assert_almost_equal(hztomel(6400), 42)

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