OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 <script src="resources/compatibility.js"></script> | 5 <script src="../resources/compatibility.js"></script> |
6 <script src="resources/audit-util.js"></script> | 6 <script src="../resources/audit-util.js"></script> |
7 <script src="resources/audio-testing.js"></script> | 7 <script src="../resources/audio-testing.js"></script> |
8 <script src="resources/panner-formulas.js"></script> | 8 <script src="../resources/panner-formulas.js"></script> |
9 <title>Test Automation of PannerNode Positions</title> | 9 <title>Test Automation of PannerNode Positions</title> |
10 </head> | 10 </head> |
11 | 11 |
12 <body> | 12 <body> |
13 <script> | 13 <script> |
14 description("Test Automation of PannerNode Positions."); | 14 description("Test Automation of PannerNode Positions."); |
15 window.jsTestIsAsync = true; | 15 window.jsTestIsAsync = true; |
16 | 16 |
17 var sampleRate = 48000; | 17 var sampleRate = 48000; |
18 // These tests are quite slow, so don't run for many frames. 256 frames s
hould be enough to | 18 // These tests are quite slow, so don't run for many frames. 256 frames s
hould be enough to |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 .beCloseToArray(expected0, errorThreshold); | 258 .beCloseToArray(expected0, errorThreshold); |
259 Should(prefix + "distanceModel: " + info + ", right channel", data1,
{ | 259 Should(prefix + "distanceModel: " + info + ", right channel", data1,
{ |
260 precision: 5 | 260 precision: 5 |
261 }) | 261 }) |
262 .beCloseToArray(expected1, errorThreshold); | 262 .beCloseToArray(expected1, errorThreshold); |
263 }); | 263 }); |
264 } | 264 } |
265 </script> | 265 </script> |
266 </body> | 266 </body> |
267 </html> | 267 </html> |
OLD | NEW |