Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: timelapse
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 1.0 kB
Basic test of setting Oscillator node types.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS Oscillator correctly set to SINE type.
PASS Oscillator correctly set to SQUARE type.
PASS Oscillator correctly set to SAWTOOTH type.
PASS Oscillator correctly set to TRIANGLE type.
PASS Oscillator correctly set to SINE type using legacy integer value.
PASS Oscillator correctly set to SQUARE type using legacy integer value.
PASS Oscillator correctly set to SAWTOOTH type using legacy integer value.
PASS Oscillator correctly set to TRIANGLE type using legacy integer value.
PASS Oscillator correctly set to CUSTOM type using setPeriodicWave.
PASS Directly setting oscillator type to CUSTOM correctly throws exception.
PASS Setting oscillator to invalid type 5 correctly throws exception.
PASS Setting .type to illegal string value threw TypeError.
PASS Setting .type to illegal type of Float32Array threw TypeError.
PASS successfullyParsed is true
TEST COMPLETE
Jump to Line
Something went wrong with that request. Please try again.