OLD | NEW |
1 Basic test of setting Oscillator node types. | 1 Basic test of setting Oscillator node types. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 PASS Oscillator correctly set to SINE type. | 5 PASS Oscillator correctly set to SINE type. |
6 PASS Oscillator correctly set to SQUARE type. | 6 PASS Oscillator correctly set to SQUARE type. |
7 PASS Oscillator correctly set to SAWTOOTH type. | 7 PASS Oscillator correctly set to SAWTOOTH type. |
8 PASS Oscillator correctly set to TRIANGLE type. | 8 PASS Oscillator correctly set to TRIANGLE type. |
9 PASS Oscillator correctly set to SINE type using legacy integer value. | 9 PASS Oscillator correctly set to SINE type using legacy integer value. |
10 PASS Oscillator correctly set to SQUARE type using legacy integer value. | 10 PASS Oscillator correctly set to SQUARE type using legacy integer value. |
11 PASS Oscillator correctly set to SAWTOOTH type using legacy integer value. | 11 PASS Oscillator correctly set to SAWTOOTH type using legacy integer value. |
12 PASS Oscillator correctly set to TRIANGLE type using legacy integer value. | 12 PASS Oscillator correctly set to TRIANGLE type using legacy integer value. |
13 PASS Oscillator correctly set to CUSTOM type using setWaveTable. | 13 PASS Oscillator correctly set to CUSTOM type using setPeriodicWave. |
14 PASS Directly setting oscillator type to CUSTOM correctly throws exception. | 14 PASS Directly setting oscillator type to CUSTOM correctly throws exception. |
15 PASS Setting oscillator to invalid type 5 correctly throws exception. | 15 PASS Setting oscillator to invalid type 5 correctly throws exception. |
16 PASS Setting .type to illegal string value threw TypeError. | 16 PASS Setting .type to illegal string value threw TypeError. |
17 PASS Setting .type to illegal type of Float32Array threw TypeError. | 17 PASS Setting .type to illegal type of Float32Array threw TypeError. |
18 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
19 | 19 |
20 TEST COMPLETE | 20 TEST COMPLETE |
21 | 21 |
OLD | NEW |