1 Test PeriodicWave Normalization
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS amplitude is 1 within a relative error of 0.00001.
7 PASS null: amplitude is 1 within a relative error of 0.00001.
8 PASS {"disableNormalization":false}: amplitude is 1 within a relative error of 0.00001.
9 PASS {"disableNormalization":true}: amplitude is 10 within a relative error of 0.00001.
10 PASS {"disableNormalization":"foo"}: amplitude is 10 within a relative error of 0.00001.
11 PASS {"disableNormalization":null}: amplitude is 1 within a relative error of 0.00001.
12 PASS {"randomKey":true}: amplitude is 1 within a relative error of 0.00001.
13 PASS {"key1":"value1","key2":42}: amplitude is 1 within a relative error of 0.00001.
14 PASS {"key1":"value1","disableNormalization":true}: amplitude is 10 within a relative error of 0.00001.
15 PASS {"key1":"value1","disableNormalization":false}: amplitude is 1 within a relative error of 0.00001.
16 PASS [1,2,3]: amplitude is 1 within a relative error of 0.00001.
17 PASS successfullyParsed is true