OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test Oscillator Node: triangle</title> | 4 <title>Test Oscillator Node: triangle</title> |
5 <script src="resources/compatibility.js"></script> | 5 <script src="../resources/compatibility.js"></script> |
6 <script src="resources/buffer-loader.js"></script> | 6 <script src="../resources/buffer-loader.js"></script> |
7 <script src="../resources/js-test.js"></script> | 7 <script src="../../resources/js-test.js"></script> |
8 <script src="resources/oscillator-testing.js"></script> | 8 <script src="../resources/oscillator-testing.js"></script> |
9 </head> | 9 </head> |
10 | 10 |
11 <body> | 11 <body> |
12 <script> | 12 <script> |
13 description("Test Triangle Oscillator with Exponential Sweep"); | 13 description("Test Triangle Oscillator with Exponential Sweep"); |
14 | 14 |
15 // Thresholds for verifying the test passes. The thresholds are experimen
tally determined. | 15 // Thresholds for verifying the test passes. The thresholds are experimen
tally determined. |
16 | 16 |
17 var tester = OscillatorTestingUtils; | 17 var tester = OscillatorTestingUtils; |
18 tester.setThresholds({snr: 80.50, maxDiff: 5.71, diffCount: 16982}); | 18 tester.setThresholds({snr: 80.50, maxDiff: 5.71, diffCount: 16982}); |
19 tester.runTest("triangle"); | 19 tester.runTest("triangle"); |
20 successfullyParsed = true; | 20 successfullyParsed = true; |
21 </script> | 21 </script> |
22 </body> | 22 </body> |
23 </html> | 23 </html> |
OLD | NEW |