..... ---------------------------------------------------------------------- Ran 5 tests in 0.275s OK
....F ====================================================================== FAIL: test_synthesize_song (test_visible.TestStep) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jhasegaw/Dropbox/mark/teaching/ece401/ece401labs/21fall/mp1/tests/test_visible.py", line 71, in test_synthesize_song self.assertAlmostEqual( AssertionError: 0.16870767993167918 != 0.08435383996583959 within 7 places (0.08435383996583959 difference) : *** synthesize_song([ 220. 329.63 17.32 698.46 20.6 41.2 116.54 55. 46.25 41.2 3520. 1396.91 16.35 466.16 329.63 4186.01 82.41 246.94 311.13 311.13],[0.1981401 0.1537068 1.28657637 1.72814063 1.34908962 1.77778565 0.20913126 0.71278756 1.08220118 1.05674697 0.81888192 1.27969944 0.76927221 1.33997218 1.38888085 0.72640863 0.70723419 1.63271861 0.95165971 1.62999141],89,18586,[ 0.94385485-0.21474033j 1.05689668-0.33092966j 0.335067 +0.86765753j 0.93081609-0.15036639j 0.5054813 +0.63242576j -0.38066782+0.87194557j 0.89222872+0.6459836j -0.88226954+0.83670909j 0.10012949-0.94724238j 1.02861232-0.4692548j ]), sample 4130, should be 0.16870767993167918 ---------------------------------------------------------------------- Ran 5 tests in 0.226s FAILED (failures=1)