Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Side by Side Diff: LayoutTests/webaudio/osc-square-sweep-snr.html

Issue 720293002: Replace oscillator tests with more robust tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Refactor according to review Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <title>Test Oscillator Node: square</title>
5 <script src="resources/compatibility.js"></script>
6 <script src="resources/buffer-loader.js"></script>
7 <script src="../resources/js-test.js"></script>
8 <script src="resources/oscillator-testing.js"></script>
9 </head>
10
11 <body>
12 <script>
13 description("Test Square Oscillator with Exponential Sweep");
14
15 // Thresholds for verifying the test passes. The thresholds are experimen tally determined.
16
17 var tester = OscillatorTestingUtils;
18 // The thresholds are experimentally determined.
19 tester.setThresholds({snr: 87.75, maxDiff: 3.63, diffCount: 6800});
20 tester.runTest("square");
21 successfullyParsed = true;
22 </script>
23 </body>
24 </html>
OLDNEW
« no previous file with comments | « LayoutTests/webaudio/osc-sine-sweep-snr-expected.txt ('k') | LayoutTests/webaudio/osc-square-sweep-snr-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698