blob: 25e923fe1af86915d234533ff9a852417261acea [file] [log] [blame]
Tests that typedArray.set(otherTypedArray) does the right conversions when dealing with different types.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Int8Array using the constructor resulted in Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Int8Array using typedArray.set() resulted in Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Int16Array using the constructor resulted in Int16Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Int16Array using typedArray.set() resulted in Int16Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Int32Array using the constructor resulted in Int32Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Int32Array using typedArray.set() resulted in Int32Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Uint8Array using the constructor resulted in Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Uint8Array using typedArray.set() resulted in Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Uint8ClampedArray using the constructor resulted in Uint8ClampedArray:[48,6,44,0,0,0,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Uint8ClampedArray using typedArray.set() resulted in Uint8ClampedArray:[48,6,44,0,0,0,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Uint16Array using the constructor resulted in Uint16Array:[48,6,44,65443,65445,65498,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Uint16Array using typedArray.set() resulted in Uint16Array:[48,6,44,65443,65445,65498,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Uint32Array using the constructor resulted in Uint32Array:[48,6,44,4294967203,4294967205,4294967258,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Uint32Array using typedArray.set() resulted in Uint32Array:[48,6,44,4294967203,4294967205,4294967258,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Float32Array using the constructor resulted in Float32Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Float32Array using typedArray.set() resulted in Float32Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Float64Array using the constructor resulted in Float64Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46] to an array of type Float64Array using typedArray.set() resulted in Float64Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Int8Array using the constructor resulted in Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Int8Array using typedArray.set() resulted in Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Int16Array using the constructor resulted in Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Int16Array using typedArray.set() resulted in Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Int32Array using the constructor resulted in Int32Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Int32Array using typedArray.set() resulted in Int32Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Uint8Array using the constructor resulted in Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Uint8Array using typedArray.set() resulted in Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Uint8ClampedArray using the constructor resulted in Uint8ClampedArray:[48,6,44,163,255,255,0,0,255,255,255,255]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Uint8ClampedArray using typedArray.set() resulted in Uint8ClampedArray:[48,6,44,163,255,255,0,0,255,255,255,255]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Uint16Array using the constructor resulted in Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Uint16Array using typedArray.set() resulted in Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Uint32Array using the constructor resulted in Uint32Array:[48,6,44,163,25253,13786,4294937400,4294959178,31068,21082,31093,2350]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Uint32Array using typedArray.set() resulted in Uint32Array:[48,6,44,163,25253,13786,4294937400,4294959178,31068,21082,31093,2350]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Float32Array using the constructor resulted in Float32Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Float32Array using typedArray.set() resulted in Float32Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Float64Array using the constructor resulted in Float64Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350]
PASS Copying Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350] to an array of type Float64Array using typedArray.set() resulted in Float64Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Int8Array using the constructor resulted in Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Int8Array using typedArray.set() resulted in Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Int16Array using the constructor resulted in Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Int16Array using typedArray.set() resulted in Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Int32Array using the constructor resulted in Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Int32Array using typedArray.set() resulted in Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Uint8Array using the constructor resulted in Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Uint8Array using typedArray.set() resulted in Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Uint8ClampedArray using the constructor resulted in Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Uint8ClampedArray using typedArray.set() resulted in Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Uint16Array using the constructor resulted in Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Uint16Array using typedArray.set() resulted in Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Uint32Array using the constructor resulted in Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Uint32Array using typedArray.set() resulted in Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Float32Array using the constructor resulted in Float32Array:[48,6,44,163,25253,13786,35640,57418,-1230538368,1472221824,-590710400,1209665792]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Float32Array using typedArray.set() resulted in Float32Array:[48,6,44,163,25253,13786,35640,57418,-1230538368,1472221824,-590710400,1209665792]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Float64Array using the constructor resulted in Float64Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838]
PASS Copying Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838] to an array of type Float64Array using typedArray.set() resulted in Float64Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Int8Array using the constructor resulted in Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Int8Array using typedArray.set() resulted in Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Int16Array using the constructor resulted in Int16Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Int16Array using typedArray.set() resulted in Int16Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Int32Array using the constructor resulted in Int32Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Int32Array using typedArray.set() resulted in Int32Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Uint8Array using the constructor resulted in Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Uint8Array using typedArray.set() resulted in Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Uint8ClampedArray using the constructor resulted in Uint8ClampedArray:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Uint8ClampedArray using typedArray.set() resulted in Uint8ClampedArray:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Uint16Array using the constructor resulted in Uint16Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Uint16Array using typedArray.set() resulted in Uint16Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Uint32Array using the constructor resulted in Uint32Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Uint32Array using typedArray.set() resulted in Uint32Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Float32Array using the constructor resulted in Float32Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Float32Array using typedArray.set() resulted in Float32Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Float64Array using the constructor resulted in Float64Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46] to an array of type Float64Array using typedArray.set() resulted in Float64Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Int8Array using the constructor resulted in Int8Array:[48,6,44,-93,-1,-1,-1,-1,0,-1,0,-1]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Int8Array using typedArray.set() resulted in Int8Array:[48,6,44,-93,-1,-1,-1,-1,0,-1,0,-1]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Int16Array using the constructor resulted in Int16Array:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Int16Array using typedArray.set() resulted in Int16Array:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Int32Array using the constructor resulted in Int32Array:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Int32Array using typedArray.set() resulted in Int32Array:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Uint8Array using the constructor resulted in Uint8Array:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Uint8Array using typedArray.set() resulted in Uint8Array:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Uint8ClampedArray using the constructor resulted in Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Uint8ClampedArray using typedArray.set() resulted in Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Uint16Array using the constructor resulted in Uint16Array:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Uint16Array using typedArray.set() resulted in Uint16Array:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Uint32Array using the constructor resulted in Uint32Array:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Uint32Array using typedArray.set() resulted in Uint32Array:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Float32Array using the constructor resulted in Float32Array:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Float32Array using typedArray.set() resulted in Float32Array:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Float64Array using the constructor resulted in Float64Array:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint8ClampedArray:[48,6,44,163,255,255,255,255,0,255,0,255] to an array of type Float64Array using typedArray.set() resulted in Float64Array:[48,6,44,163,255,255,255,255,0,255,0,255]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Int8Array using the constructor resulted in Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Int8Array using typedArray.set() resulted in Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Int16Array using the constructor resulted in Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Int16Array using typedArray.set() resulted in Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Int32Array using the constructor resulted in Int32Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Int32Array using typedArray.set() resulted in Int32Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Uint8Array using the constructor resulted in Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Uint8Array using typedArray.set() resulted in Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Uint8ClampedArray using the constructor resulted in Uint8ClampedArray:[48,6,44,163,255,255,255,255,255,255,255,255]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Uint8ClampedArray using typedArray.set() resulted in Uint8ClampedArray:[48,6,44,163,255,255,255,255,255,255,255,255]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Uint16Array using the constructor resulted in Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Uint16Array using typedArray.set() resulted in Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Uint32Array using the constructor resulted in Uint32Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Uint32Array using typedArray.set() resulted in Uint32Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Float32Array using the constructor resulted in Float32Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Float32Array using typedArray.set() resulted in Float32Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Float64Array using the constructor resulted in Float64Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350] to an array of type Float64Array using typedArray.set() resulted in Float64Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Int8Array using the constructor resulted in Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Int8Array using typedArray.set() resulted in Int8Array:[48,6,44,-93,-91,-38,56,74,92,90,117,46]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Int16Array using the constructor resulted in Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Int16Array using typedArray.set() resulted in Int16Array:[48,6,44,163,25253,13786,-29896,-8118,31068,21082,31093,2350]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Int32Array using the constructor resulted in Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Int32Array using typedArray.set() resulted in Int32Array:[48,6,44,163,25253,13786,35640,57418,-1230538404,1472221786,-590710411,1209665838]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Uint8Array using the constructor resulted in Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Uint8Array using typedArray.set() resulted in Uint8Array:[48,6,44,163,165,218,56,74,92,90,117,46]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Uint8ClampedArray using the constructor resulted in Uint8ClampedArray:[48,6,44,163,255,255,255,255,255,255,255,255]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Uint8ClampedArray using typedArray.set() resulted in Uint8ClampedArray:[48,6,44,163,255,255,255,255,255,255,255,255]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Uint16Array using the constructor resulted in Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Uint16Array using typedArray.set() resulted in Uint16Array:[48,6,44,163,25253,13786,35640,57418,31068,21082,31093,2350]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Uint32Array using the constructor resulted in Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Uint32Array using typedArray.set() resulted in Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Float32Array using the constructor resulted in Float32Array:[48,6,44,163,25253,13786,35640,57418,3064428800,1472221824,3704256768,1209665792]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Float32Array using typedArray.set() resulted in Float32Array:[48,6,44,163,25253,13786,35640,57418,3064428800,1472221824,3704256768,1209665792]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Float64Array using the constructor resulted in Float64Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838]
PASS Copying Uint32Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838] to an array of type Float64Array using typedArray.set() resulted in Float64Array:[48,6,44,163,25253,13786,35640,57418,3064428892,1472221786,3704256885,1209665838]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Int8Array using the constructor resulted in Int8Array:[0,0,1,42,1,-2,0,0,0,0,0,0]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Int8Array using typedArray.set() resulted in Int8Array:[0,0,1,42,1,-2,0,0,0,0,0,0]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Int16Array using the constructor resulted in Int16Array:[0,0,1,42,1,-2,0,0,0,20736,32512,27648]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Int16Array using typedArray.set() resulted in Int16Array:[0,0,1,42,1,-2,0,0,0,20736,32512,27648]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Int32Array using the constructor resulted in Int32Array:[0,0,1,42,1,-2,0,0,0,-1321185024,1731034880,1126525952]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Int32Array using typedArray.set() resulted in Int32Array:[0,0,1,42,1,-2,0,0,0,-1321185024,1731034880,1126525952]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Uint8Array using the constructor resulted in Uint8Array:[0,0,1,42,1,254,0,0,0,0,0,0]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Uint8Array using typedArray.set() resulted in Uint8Array:[0,0,1,42,1,254,0,0,0,0,0,0]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Uint8ClampedArray using the constructor resulted in Uint8ClampedArray:[0,0,1,42,2,0,255,0,0,0,255,255]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Uint8ClampedArray using typedArray.set() resulted in Uint8ClampedArray:[0,0,1,42,2,0,255,0,0,0,255,255]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Uint16Array using the constructor resulted in Uint16Array:[0,0,1,42,1,65534,0,0,0,20736,32512,27648]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Uint16Array using typedArray.set() resulted in Uint16Array:[0,0,1,42,1,65534,0,0,0,20736,32512,27648]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Uint32Array using the constructor resulted in Uint32Array:[0,0,1,42,1,4294967294,0,0,0,2973782272,1731034880,1126525952]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Uint32Array using typedArray.set() resulted in Uint32Array:[0,0,1,42,1,4294967294,0,0,0,2973782272,1731034880,1126525952]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Float32Array using the constructor resulted in Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Float32Array using typedArray.set() resulted in Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Float64Array using the constructor resulted in Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952]
PASS Copying Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952] to an array of type Float64Array using typedArray.set() resulted in Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Int8Array using the constructor resulted in Int8Array:[0,0,1,42,1,-2,0,0,0,48,6,44]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Int8Array using typedArray.set() resulted in Int8Array:[0,0,1,42,1,-2,0,0,0,48,6,44]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Int16Array using the constructor resulted in Int16Array:[0,0,1,42,1,-2,0,0,0,20784,32518,27692]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Int16Array using typedArray.set() resulted in Int16Array:[0,0,1,42,1,-2,0,0,0,20784,32518,27692]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Int32Array using the constructor resulted in Int32Array:[0,0,1,42,1,-2,0,0,0,-1321184976,1731034886,1126525996]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Int32Array using typedArray.set() resulted in Int32Array:[0,0,1,42,1,-2,0,0,0,-1321184976,1731034886,1126525996]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Uint8Array using the constructor resulted in Uint8Array:[0,0,1,42,1,254,0,0,0,48,6,44]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Uint8Array using typedArray.set() resulted in Uint8Array:[0,0,1,42,1,254,0,0,0,48,6,44]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Uint8ClampedArray using the constructor resulted in Uint8ClampedArray:[0,0,1,42,2,0,255,0,0,0,255,255]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Uint8ClampedArray using typedArray.set() resulted in Uint8ClampedArray:[0,0,1,42,2,0,255,0,0,0,255,255]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Uint16Array using the constructor resulted in Uint16Array:[0,0,1,42,1,65534,0,0,0,20784,32518,27692]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Uint16Array using typedArray.set() resulted in Uint16Array:[0,0,1,42,1,65534,0,0,0,20784,32518,27692]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Uint32Array using the constructor resulted in Uint32Array:[0,0,1,42,1,4294967294,0,0,0,2973782320,1731034886,1126525996]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Uint32Array using typedArray.set() resulted in Uint32Array:[0,0,1,42,1,4294967294,0,0,0,2973782320,1731034886,1126525996]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Float32Array using the constructor resulted in Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Float32Array using typedArray.set() resulted in Float32Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321185024,1731034880,1126525952]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Float64Array using the constructor resulted in Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996]
PASS Copying Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996] to an array of type Float64Array using typedArray.set() resulted in Float64Array:[0,0,1,42,1.5,-2.5,Infinity,-Infinity,NaN,-1321184976,1731034886,1126525996]
PASS successfullyParsed is true
TEST COMPLETE