Changeset 299c2b0


Ignore:
Timestamp:
Jul 11, 2012, 10:41:22 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
195b424
Parents:
4afa448e
Message:

test_fft.py: phase can be 0 or -0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • interfaces/python/test_fft.py

    r4afa448e r299c2b0  
    8888    #self.plot_this ( fftgrain.phas )
    8989    assert_equal ( fftgrain.phas[0], 0)
    90     assert_equal ( fftgrain.phas[1], 0)
     90    assert_equal ( abs(fftgrain.phas[1]), 0)
    9191    assert_almost_equal (fftgrain.norm[0], impulse, decimal = 6 )
    9292
Note: See TracChangeset for help on using the changeset viewer.