OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Simple Tests of WaveShaperNode</title> | 4 <title>Simple Tests of WaveShaperNode</title> |
5 <script src="../resources/testharness.js"></script> | 5 <script src="../../resources/testharness.js"></script> |
6 <script src="../resources/testharnessreport.js"></script> | 6 <script src="../../resources/testharnessreport.js"></script> |
7 <script src="resources/audit-util.js"></script> | 7 <script src="../resources/audit-util.js"></script> |
8 <script src="resources/audio-testing.js"></script> | 8 <script src="../resources/audio-testing.js"></script> |
9 </head> | 9 </head> |
10 | 10 |
11 <body> | 11 <body> |
12 <script> | 12 <script> |
13 var audit = Audit.createTaskRunner(); | 13 var audit = Audit.createTaskRunner(); |
14 | 14 |
15 audit.defineTask("simple", function (taskDone) { | 15 audit.defineTask("simple", function (taskDone) { |
16 var context = new OfflineAudioContext(1, 1, 48000); | 16 var context = new OfflineAudioContext(1, 1, 48000); |
17 var shaper = context.createWaveShaper(); | 17 var shaper = context.createWaveShaper(); |
18 | 18 |
(...skipping 21 matching lines...) Expand all Loading... |
40 shaper.curve = null; | 40 shaper.curve = null; |
41 Should("Waveshaper.curve = null", shaper.curve).beEqualTo(null); | 41 Should("Waveshaper.curve = null", shaper.curve).beEqualTo(null); |
42 | 42 |
43 taskDone(); | 43 taskDone(); |
44 }); | 44 }); |
45 | 45 |
46 audit.runTasks(); | 46 audit.runTasks(); |
47 </script> | 47 </script> |
48 </body> | 48 </body> |
49 </html> | 49 </html> |
OLD | NEW |