mirror of
https://github.com/tc39/test262.git
synced 2025-07-29 00:44:32 +02:00
testTypedArray.js: enforce order of TypedArrays
This commit is contained in:
parent
ac65ecab7c
commit
338688bb57
@ -39,3 +39,22 @@ var callCount = 0;
|
||||
testWithTypedArrayConstructors(() => callCount++);
|
||||
assert.sameValue(callCount, length);
|
||||
|
||||
assert.sameValue(typedArrayConstructors[0], Float64Array);
|
||||
assert.sameValue(typedArrayConstructors[1], Float32Array);
|
||||
assert.sameValue(typedArrayConstructors[2], Int32Array);
|
||||
assert.sameValue(typedArrayConstructors[3], Int16Array);
|
||||
assert.sameValue(typedArrayConstructors[4], Int8Array);
|
||||
assert.sameValue(typedArrayConstructors[5], Uint32Array);
|
||||
assert.sameValue(typedArrayConstructors[6], Uint16Array);
|
||||
assert.sameValue(typedArrayConstructors[7], Uint8Array);
|
||||
assert.sameValue(typedArrayConstructors[8], Uint8ClampedArray);
|
||||
|
||||
assert.sameValue(typedArrayConstructors[0], TAConstructors[0]);
|
||||
assert.sameValue(typedArrayConstructors[1], TAConstructors[1]);
|
||||
assert.sameValue(typedArrayConstructors[2], TAConstructors[2]);
|
||||
assert.sameValue(typedArrayConstructors[3], TAConstructors[3]);
|
||||
assert.sameValue(typedArrayConstructors[4], TAConstructors[4]);
|
||||
assert.sameValue(typedArrayConstructors[5], TAConstructors[5]);
|
||||
assert.sameValue(typedArrayConstructors[6], TAConstructors[6]);
|
||||
assert.sameValue(typedArrayConstructors[7], TAConstructors[7]);
|
||||
assert.sameValue(typedArrayConstructors[8], TAConstructors[8]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user