This is a testharness.js-based test. PASS # AUDIT TASK RUNNER STARTED. PASS > [basic test small] Start oscillator slightly past a sample frame PASS Oscillator.start(1.25 frames) equals [0,0,0.08628636579792338,0.20022300402084467,0.3115057926840881,0.41865973753742813,0.5202645699620939,0.6149735718768643,0.7015314257708557,0.7787908532703041,0.8457278217039733,0.9014551171122457,0.9452341037968682,0.9764845145447687,0.9947921417617265,0.999914327574007...] with an element-wise tolerance of {"absoluteThreshold":0.00010842,"relativeThreshold":0}. FAIL X SNR (dB) is not greater than or equal to 84.055. Got 84.05493268231409. assert_true: expected true got false FAIL < [basic test small] 1 out of 2 assertions were failed. assert_true: expected true got false PASS > [basic test big] Start oscillator slightly before a sample frame FAIL X Oscillator.start(1.75 frames) does not equal [0,0,0.02879395236826347,0.14349262199117932,0.25628937313299666,0.3656891447750543,0.47024190105748226,0.5685618507342639,0.6593458151000688,0.7413905009317422,0.813608449500787,0.8750424502611525,0.9248782281665496,0.9624552364536474,0.9872754118385365,0.9990097760809875...] with an element-wise tolerance of {"absoluteThreshold":0.00010838,"relativeThreshold":0}. Index Actual Expected AbsError RelError Test threshold [23974] 5.5058568716049194e-2 5.4950179912477984e-2 1.0838880357121050e-4 1.9724922419516551e-3 1.0838000000000000e-4 Max AbsError of 1.0838880357121050e-4 at index of 23974. Max RelError of 1.9724922419516551e-3 at index of 23974. assert_true: expected true got false PASS SNR (dB) is greater than or equal to 84.056. FAIL < [basic test big] 1 out of 2 assertions were failed. assert_true: expected true got false PASS > [diff big offset] Test sampling with start offset greater than 1/2 sampling frame PASS Delayed cosine oscillator at sample rate 24000 equals [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.9991217255592346,0.9876876473426819...] with an element-wise tolerance of {"absoluteThreshold":4.1724e-7,"relativeThreshold":0}. PASS SNR (dB) is greater than or equal to 137.536. PASS < [diff big offset] All assertions passed. (total 2 assertions) PASS > [diff small offset] Test sampling with start offset less than 1/2 sampling frame PASS Delayed cosine oscillator at sample rate 48000 equals [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...] with an element-wise tolerance of {"absoluteThreshold":4.1724e-7,"relativeThreshold":0}. PASS SNR (dB) is greater than or equal to 137.536. PASS < [diff small offset] All assertions passed. (total 2 assertions) FAIL # AUDIT TASK RUNNER FINISHED: 2 out of 4 tasks were failed. assert_true: expected true got false Harness: the test ran to completion.