Harness status: OK

Found 66 tests

66 Pass
Pass	# AUDIT TASK RUNNER STARTED.
Pass	Executing "initialize"
Pass	Executing "test value"
Pass	Executing "test time"
Pass	Executing "test setValueCurve"
Pass	Executing "special cases 1"
Pass	Executing "special cases 2"
Pass	Audit report
Pass	> [initialize] 
Pass	  Creating context for testing did not throw an exception.
Pass	< [initialize] All assertions passed. (total 1 assertions)
Pass	> [test value] Test non-finite arguments for AudioParam value
Pass	  gain.gain.setValueAtTime(Infinity,1) threw TypeError: "Expected value to be a finite floating-point number".
Pass	  gain.gain.linearRampToValueAtTime(Infinity,1) threw TypeError: "Expected value to be a finite floating-point number".
Pass	  gain.gain.exponentialRampToValueAtTime(Infinity,1) threw TypeError: "Expected value to be a finite floating-point number".
Pass	  gain.gain.setTargetAtTime(Infinity,1,1) threw TypeError: "Expected target to be a finite floating-point number".
Pass	  gain.gain.setValueAtTime(-Infinity,1) threw TypeError: "Expected value to be a finite floating-point number".
Pass	  gain.gain.linearRampToValueAtTime(-Infinity,1) threw TypeError: "Expected value to be a finite floating-point number".
Pass	  gain.gain.exponentialRampToValueAtTime(-Infinity,1) threw TypeError: "Expected value to be a finite floating-point number".
Pass	  gain.gain.setTargetAtTime(-Infinity,1,1) threw TypeError: "Expected target to be a finite floating-point number".
Pass	  gain.gain.setValueAtTime(NaN,1) threw TypeError: "Expected value to be a finite floating-point number".
Pass	  gain.gain.linearRampToValueAtTime(NaN,1) threw TypeError: "Expected value to be a finite floating-point number".
Pass	  gain.gain.exponentialRampToValueAtTime(NaN,1) threw TypeError: "Expected value to be a finite floating-point number".
Pass	  gain.gain.setTargetAtTime(NaN,1,1) threw TypeError: "Expected target to be a finite floating-point number".
Pass	< [test value] All assertions passed. (total 12 assertions)
Pass	> [test time] Test non-finite arguments for AudioParam time
Pass	  gain.gain.setValueAtTime(1,Infinity) threw TypeError: "Expected startTime to be a finite floating-point number".
Pass	  gain.gain.linearRampToValueAtTime(1,Infinity) threw TypeError: "Expected endTime to be a finite floating-point number".
Pass	  gain.gain.exponentialRampToValueAtTime(1,Infinity) threw TypeError: "Expected endTime to be a finite floating-point number".
Pass	  gain.gain.setTargetAtTime(1,Infinity,1) threw TypeError: "Expected startTime to be a finite floating-point number".
Pass	  gain.gain.setTargetAtTime(1,1,Infinity) threw TypeError: "Expected timeConstant to be a finite floating-point number".
Pass	  gain.gain.setValueAtTime(1,-Infinity) threw TypeError: "Expected startTime to be a finite floating-point number".
Pass	  gain.gain.linearRampToValueAtTime(1,-Infinity) threw TypeError: "Expected endTime to be a finite floating-point number".
Pass	  gain.gain.exponentialRampToValueAtTime(1,-Infinity) threw TypeError: "Expected endTime to be a finite floating-point number".
Pass	  gain.gain.setTargetAtTime(1,-Infinity,1) threw TypeError: "Expected startTime to be a finite floating-point number".
Pass	  gain.gain.setTargetAtTime(1,1,-Infinity) threw TypeError: "Expected timeConstant to be a finite floating-point number".
Pass	  gain.gain.setValueAtTime(1,NaN) threw TypeError: "Expected startTime to be a finite floating-point number".
Pass	  gain.gain.linearRampToValueAtTime(1,NaN) threw TypeError: "Expected endTime to be a finite floating-point number".
Pass	  gain.gain.exponentialRampToValueAtTime(1,NaN) threw TypeError: "Expected endTime to be a finite floating-point number".
Pass	  gain.gain.setTargetAtTime(1,NaN,1) threw TypeError: "Expected startTime to be a finite floating-point number".
Pass	  gain.gain.setTargetAtTime(1,1,NaN) threw TypeError: "Expected timeConstant to be a finite floating-point number".
Pass	< [test time] All assertions passed. (total 15 assertions)
Pass	> [test setValueCurve] Test non-finite arguments for setValueCurveAtTime
Pass	  gain.gain.setValueCurveAtTime([0,0,0],Infinity,1) threw TypeError: "Expected startTime to be a finite floating-point number".
Pass	  gain.gain.setValueCurveAtTime([0,0,0],-Infinity,1) threw TypeError: "Expected startTime to be a finite floating-point number".
Pass	  gain.gain.setValueCurveAtTime([0,0,0],NaN,1) threw TypeError: "Expected startTime to be a finite floating-point number".
Pass	  gain.gain.setValueCurveAtTime([1,2,Infinity,3],1,1) threw TypeError: "Expected values to be a finite floating-point number".
Pass	  gain.gain.setValueCurveAtTime([1,NaN,2,3],1,1) threw TypeError: "Expected values to be a finite floating-point number".
Pass	< [test setValueCurve] All assertions passed. (total 5 assertions)
Pass	> [special cases 1] Test exceptions for finite values
Pass	  gain.gain.setValueAtTime(1,-1) threw RangeError: "startTime must not be negative".
Pass	  gain.gain.linearRampToValueAtTime(1,-1) threw RangeError: "endTime must not be negative".
Pass	  gain.gain.exponentialRampToValueAtTime(1,-1) threw RangeError: "endTime must not be negative".
Pass	  gain.gain.setTargetAtTime(1,-1,1) threw RangeError: "startTime must not be negative".
Pass	  gain.gain.setTargetAtTime(1,1,-1) threw RangeError: "timeConstant must not be negative".
Pass	  gain.gain.setValueCurveAtTime([0,0,0],-1,1) threw RangeError: "startTime must not be negative".
Pass	  gain.gain.setValueCurveAtTime([0,0,0],1,-1) threw RangeError: "duration must be positive".
Pass	  gain.gain.setValueCurveAtTime(curve, 1, 0) threw RangeError: "duration must be positive".
Pass	  gain.gain.setValueCurveAtTime(curve, 1, -1) threw RangeError: "duration must be positive".
Pass	< [special cases 1] All assertions passed. (total 9 assertions)
Pass	> [special cases 2] Test special cases for expeonentialRamp
Pass	  gain.gain.exponentialRampToValueAtTime(0,1) threw RangeError: "value must not be zero".
Pass	  gain.gain.exponentialRampToValueAtTime(-1e-100,1) threw RangeError: "value must not be zero".
Pass	  gain.gain.exponentialRampToValueAtTime(1e-100,1) threw RangeError: "value must not be zero".
Pass	< [special cases 2] All assertions passed. (total 3 assertions)
Pass	# AUDIT TASK RUNNER FINISHED: 6 tasks ran successfully.