diff options
| author | John Glover <j@johnglover.net> | 2012-03-16 17:08:58 +0000 | 
|---|---|---|
| committer | John Glover <j@johnglover.net> | 2012-03-16 17:08:58 +0000 | 
| commit | d9a7ad89d8a7554898eedbd72113eb7e461906ae (patch) | |
| tree | 0f9f06f06e0bd9349a990ff76cd5aa8d42bf36de /tests/test_base.py | |
| parent | 165c524ecfc67529e51b59fe196d2abc003677a9 (diff) | |
| download | simpl-d9a7ad89d8a7554898eedbd72113eb7e461906ae.tar.gz simpl-d9a7ad89d8a7554898eedbd72113eb7e461906ae.tar.bz2 simpl-d9a7ad89d8a7554898eedbd72113eb7e461906ae.zip | |
add Cython base.Peak class
Diffstat (limited to 'tests/test_base.py')
| -rw-r--r-- | tests/test_base.py | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/tests/test_base.py b/tests/test_base.py index c906f31..4dac897 100644 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -23,3 +23,9 @@ class TestFrame(object):          a = np.random.rand(N)          f.synth_residual = a          assert np.all(f.synth_residual == a) + +    def test_peak(self): +        p = base.Peak() +        p.amplitude = 0.5 +        p.frequency = 220.0 +        p.phase = 0.0 |