mirror of https://github.com/tc39/test262.git
chore: migrate $ERROR -> throw new Test262Error in test/language/l* (#3104)
Excludes test/language/line-terminators/*
This commit is contained in:
parent
2dcd653272
commit
323233be54
|
@ -9,5 +9,5 @@ description: "BooleanLiteral :: true"
|
|||
|
||||
//CHECK#1
|
||||
if (Boolean(true) !== true) {
|
||||
$ERROR('#1: Boolean(true) === true. Actual: Boolean(true) === ' + (Boolean(true)));
|
||||
throw new Test262Error('#1: Boolean(true) === true. Actual: Boolean(true) === ' + (Boolean(true)));
|
||||
}
|
||||
|
|
|
@ -9,5 +9,5 @@ description: "BooleanLiteral :: false"
|
|||
|
||||
//CHECK#1
|
||||
if (Boolean(false) !== false) {
|
||||
$ERROR('#1: Boolean(false) === false. Actual: Boolean(false) === ' + (Boolean(false)));
|
||||
throw new Test262Error('#1: Boolean(false) === false. Actual: Boolean(false) === ' + (Boolean(false)));
|
||||
}
|
||||
|
|
|
@ -9,5 +9,5 @@ description: Check null === null
|
|||
|
||||
//CHECK#1
|
||||
if (null !== null) {
|
||||
$ERROR('#1: null === null');
|
||||
throw new Test262Error('#1: null === null');
|
||||
}
|
||||
|
|
|
@ -9,5 +9,5 @@ description: Check RegExp("0").exec("1") === null
|
|||
|
||||
//CHECK#1
|
||||
if (RegExp("0").exec("1") !== null) {
|
||||
$ERROR('#1: RegExp("0").exec("1") === null');
|
||||
throw new Test262Error('#1: RegExp("0").exec("1") === null');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "DecimalIntegerLiteral :: 0, NoNZeroDigit"
|
|||
|
||||
//CHECK#0
|
||||
if (0 !== 0) {
|
||||
$ERROR('#0: 0 === 0');
|
||||
throw new Test262Error('#0: 0 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1 !== 1) {
|
||||
$ERROR('#1: 1 === 1');
|
||||
throw new Test262Error('#1: 1 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2 !== 2) {
|
||||
$ERROR('#2: 2 === 2');
|
||||
throw new Test262Error('#2: 2 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3 !== 3) {
|
||||
$ERROR('#3: 3 === 3');
|
||||
throw new Test262Error('#3: 3 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4 !== 4) {
|
||||
$ERROR('#4: 4 === 4');
|
||||
throw new Test262Error('#4: 4 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5 !== 5) {
|
||||
$ERROR('#5: 5 === 5');
|
||||
throw new Test262Error('#5: 5 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6 !== 6) {
|
||||
$ERROR('#6: 6 === 6');
|
||||
throw new Test262Error('#6: 6 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7 !== 7) {
|
||||
$ERROR('#7: 7 === 7');
|
||||
throw new Test262Error('#7: 7 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8 !== 8) {
|
||||
$ERROR('#8: 8 === 8');
|
||||
throw new Test262Error('#8: 8 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9 !== 9) {
|
||||
$ERROR('#9: 9 === 9');
|
||||
throw new Test262Error('#9: 9 === 9');
|
||||
}
|
||||
|
|
|
@ -9,45 +9,45 @@ description: "DecimalIntegerLiteral :: NoNZeroDigit DecimalDigits"
|
|||
|
||||
//CHECK#1
|
||||
if (11 !== 11) {
|
||||
$ERROR('#1: 11 === 11');
|
||||
throw new Test262Error('#1: 11 === 11');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (22 !== 22) {
|
||||
$ERROR('#2: 22 === 22');
|
||||
throw new Test262Error('#2: 22 === 22');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (33 !== 33) {
|
||||
$ERROR('#3: 33 === 33');
|
||||
throw new Test262Error('#3: 33 === 33');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (44 !== 44) {
|
||||
$ERROR('#4: 44 === 44');
|
||||
throw new Test262Error('#4: 44 === 44');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (55 !== 55) {
|
||||
$ERROR('#5: 55 === 55');
|
||||
throw new Test262Error('#5: 55 === 55');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (66 !== 66) {
|
||||
$ERROR('#6: 66 === 66');
|
||||
throw new Test262Error('#6: 66 === 66');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (77 !== 77) {
|
||||
$ERROR('#7: 77 === 77');
|
||||
throw new Test262Error('#7: 77 === 77');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (88 !== 88) {
|
||||
$ERROR('#8: 88 === 88');
|
||||
throw new Test262Error('#8: 88 === 88');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (99 !== 99) {
|
||||
$ERROR('#9: 99 === 99');
|
||||
throw new Test262Error('#9: 99 === 99');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0e1 !== 0) {
|
||||
$ERROR('#0: 0e1 === 0');
|
||||
throw new Test262Error('#0: 0e1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1e1 !== 10) {
|
||||
$ERROR('#1: 1e1 === 10');
|
||||
throw new Test262Error('#1: 1e1 === 10');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2e1 !== 20) {
|
||||
$ERROR('#2: 2e1 === 20');
|
||||
throw new Test262Error('#2: 2e1 === 20');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3e1 !== 30) {
|
||||
$ERROR('#3: 3e1 === 30');
|
||||
throw new Test262Error('#3: 3e1 === 30');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4e1 !== 40) {
|
||||
$ERROR('#4: 4e1 === 40');
|
||||
throw new Test262Error('#4: 4e1 === 40');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5e1 !== 50) {
|
||||
$ERROR('#5: 5e1 === 50');
|
||||
throw new Test262Error('#5: 5e1 === 50');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6e1 !== 60) {
|
||||
$ERROR('#6: 6e1 === 60');
|
||||
throw new Test262Error('#6: 6e1 === 60');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7e1 !== 70) {
|
||||
$ERROR('#7: 7e1 === 70');
|
||||
throw new Test262Error('#7: 7e1 === 70');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8e1 !== 80) {
|
||||
$ERROR('#8: 8e1 === 80');
|
||||
throw new Test262Error('#8: 8e1 === 80');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9e1 !== 90) {
|
||||
$ERROR('#9: 9e1 === 90');
|
||||
throw new Test262Error('#9: 9e1 === 90');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0E1 !== 0) {
|
||||
$ERROR('#0: 0E1 === 0');
|
||||
throw new Test262Error('#0: 0E1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1E1 !== 10) {
|
||||
$ERROR('#1: 1E1 === 1');
|
||||
throw new Test262Error('#1: 1E1 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2E1 !== 20) {
|
||||
$ERROR('#2: 2E1 === 20');
|
||||
throw new Test262Error('#2: 2E1 === 20');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3E1 !== 30) {
|
||||
$ERROR('#3: 3E1 === 30');
|
||||
throw new Test262Error('#3: 3E1 === 30');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4E1 !== 40) {
|
||||
$ERROR('#4: 4E1 === 40');
|
||||
throw new Test262Error('#4: 4E1 === 40');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5E1 !== 50) {
|
||||
$ERROR('#5: 5E1 === 50');
|
||||
throw new Test262Error('#5: 5E1 === 50');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6E1 !== 60) {
|
||||
$ERROR('#6: 6E1 === 60');
|
||||
throw new Test262Error('#6: 6E1 === 60');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7E1 !== 70) {
|
||||
$ERROR('#7: 7E1 === 70');
|
||||
throw new Test262Error('#7: 7E1 === 70');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8E1 !== 80) {
|
||||
$ERROR('#8: 8E1 === 80');
|
||||
throw new Test262Error('#8: 8E1 === 80');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9E1 !== 90) {
|
||||
$ERROR('#9: 9E1 === 90');
|
||||
throw new Test262Error('#9: 9E1 === 90');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e -DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0e-1 !== 0) {
|
||||
$ERROR('#0: 0e-1 === 0');
|
||||
throw new Test262Error('#0: 0e-1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1e-1 !== 0.1) {
|
||||
$ERROR('#1: 1e-1 === 0.1');
|
||||
throw new Test262Error('#1: 1e-1 === 0.1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2e-1 !== 0.2) {
|
||||
$ERROR('#2: 2e-1 === 0.2');
|
||||
throw new Test262Error('#2: 2e-1 === 0.2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3e-1 !== 0.3) {
|
||||
$ERROR('#3: 3e-1 === 0.3');
|
||||
throw new Test262Error('#3: 3e-1 === 0.3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4e-1 !== 0.4) {
|
||||
$ERROR('#4: 4e-1 === 0.4');
|
||||
throw new Test262Error('#4: 4e-1 === 0.4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5e-1 !== 0.5) {
|
||||
$ERROR('#5: 5e-1 === 0.5');
|
||||
throw new Test262Error('#5: 5e-1 === 0.5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6e-1 !== 0.6) {
|
||||
$ERROR('#6: 6e-1 === 0.6');
|
||||
throw new Test262Error('#6: 6e-1 === 0.6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7e-1 !== 0.7) {
|
||||
$ERROR('#7: 7e-1 === 0.7');
|
||||
throw new Test262Error('#7: 7e-1 === 0.7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8e-1 !== 0.8) {
|
||||
$ERROR('#8: 8e-1 === 0.8');
|
||||
throw new Test262Error('#8: 8e-1 === 0.8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9e-1 !== 0.9) {
|
||||
$ERROR('#9: 9e-1 === 0.9');
|
||||
throw new Test262Error('#9: 9e-1 === 0.9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E -DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0E-1 !== 0) {
|
||||
$ERROR('#0: 0E-1 === 0');
|
||||
throw new Test262Error('#0: 0E-1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1E-1 !== 0.1) {
|
||||
$ERROR('#1: 1E-1 === 0.1');
|
||||
throw new Test262Error('#1: 1E-1 === 0.1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2E-1 !== 0.2) {
|
||||
$ERROR('#2: 2E-1 === 0.2');
|
||||
throw new Test262Error('#2: 2E-1 === 0.2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3E-1 !== 0.3) {
|
||||
$ERROR('#3: 3E-1 === 0.3');
|
||||
throw new Test262Error('#3: 3E-1 === 0.3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4E-1 !== 0.4) {
|
||||
$ERROR('#4: 4E-1 === 0.4');
|
||||
throw new Test262Error('#4: 4E-1 === 0.4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5E-1 !== 0.5) {
|
||||
$ERROR('#5: 5E-1 === 0.5');
|
||||
throw new Test262Error('#5: 5E-1 === 0.5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6E-1 !== 0.6) {
|
||||
$ERROR('#6: 6E-1 === 0.6');
|
||||
throw new Test262Error('#6: 6E-1 === 0.6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7E-1 !== 0.7) {
|
||||
$ERROR('#7: 7E-1 === 0.7');
|
||||
throw new Test262Error('#7: 7E-1 === 0.7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8E-1 !== 0.8) {
|
||||
$ERROR('#8: 8E-1 === 0.8');
|
||||
throw new Test262Error('#8: 8E-1 === 0.8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9E-1 !== 0.9) {
|
||||
$ERROR('#9: 9E-1 === 0.9');
|
||||
throw new Test262Error('#9: 9E-1 === 0.9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e +DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0e+1 !== 0) {
|
||||
$ERROR('#0: 0e+1 === 0');
|
||||
throw new Test262Error('#0: 0e+1 === 0');
|
||||
}
|
||||
|
||||
//CHe+CK#1
|
||||
if (1e+1 !== 10) {
|
||||
$ERROR('#1: 1e+1 === 10');
|
||||
throw new Test262Error('#1: 1e+1 === 10');
|
||||
}
|
||||
|
||||
//CHe+CK#2
|
||||
if (2e+1 !== 20) {
|
||||
$ERROR('#2: 2e+1 === 20');
|
||||
throw new Test262Error('#2: 2e+1 === 20');
|
||||
}
|
||||
|
||||
//CHe+CK#3
|
||||
if (3e+1 !== 30) {
|
||||
$ERROR('#3: 3e+1 === 30');
|
||||
throw new Test262Error('#3: 3e+1 === 30');
|
||||
}
|
||||
|
||||
//CHe+CK#4
|
||||
if (4e+1 !== 40) {
|
||||
$ERROR('#4: 4e+1 === 40');
|
||||
throw new Test262Error('#4: 4e+1 === 40');
|
||||
}
|
||||
|
||||
//CHe+CK#5
|
||||
if (5e+1 !== 50) {
|
||||
$ERROR('#5: 5e+1 === 50');
|
||||
throw new Test262Error('#5: 5e+1 === 50');
|
||||
}
|
||||
|
||||
//CHe+CK#6
|
||||
if (6e+1 !== 60) {
|
||||
$ERROR('#6: 6e+1 === 60');
|
||||
throw new Test262Error('#6: 6e+1 === 60');
|
||||
}
|
||||
|
||||
//CHe+CK#7
|
||||
if (7e+1 !== 70) {
|
||||
$ERROR('#7: 7e+1 === 70');
|
||||
throw new Test262Error('#7: 7e+1 === 70');
|
||||
}
|
||||
|
||||
//CHe+CK#8
|
||||
if (8e+1 !== 80) {
|
||||
$ERROR('#8: 8e+1 === 80');
|
||||
throw new Test262Error('#8: 8e+1 === 80');
|
||||
}
|
||||
|
||||
//CHe+CK#9
|
||||
if (9e+1 !== 90) {
|
||||
$ERROR('#9: 9e+1 === 90');
|
||||
throw new Test262Error('#9: 9e+1 === 90');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E +DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0E+1 !== 0) {
|
||||
$ERROR('#0: 0E+1 === 0');
|
||||
throw new Test262Error('#0: 0E+1 === 0');
|
||||
}
|
||||
|
||||
//CHE+CK#1
|
||||
if (1E+1 !== 10) {
|
||||
$ERROR('#1: 1E+1 === 10');
|
||||
throw new Test262Error('#1: 1E+1 === 10');
|
||||
}
|
||||
|
||||
//CHE+CK#2
|
||||
if (2E+1 !== 20) {
|
||||
$ERROR('#2: 2E+1 === 20');
|
||||
throw new Test262Error('#2: 2E+1 === 20');
|
||||
}
|
||||
|
||||
//CHE+CK#3
|
||||
if (3E+1 !== 30) {
|
||||
$ERROR('#3: 3E+1 === 30');
|
||||
throw new Test262Error('#3: 3E+1 === 30');
|
||||
}
|
||||
|
||||
//CHE+CK#4
|
||||
if (4E+1 !== 40) {
|
||||
$ERROR('#4: 4E+1 === 40');
|
||||
throw new Test262Error('#4: 4E+1 === 40');
|
||||
}
|
||||
|
||||
//CHE+CK#5
|
||||
if (5E+1 !== 50) {
|
||||
$ERROR('#5: 5E+1 === 50');
|
||||
throw new Test262Error('#5: 5E+1 === 50');
|
||||
}
|
||||
|
||||
//CHE+CK#6
|
||||
if (6E+1 !== 60) {
|
||||
$ERROR('#6: 6E+1 === 60');
|
||||
throw new Test262Error('#6: 6E+1 === 60');
|
||||
}
|
||||
|
||||
//CHE+CK#7
|
||||
if (7E+1 !== 70) {
|
||||
$ERROR('#7: 7E+1 === 70');
|
||||
throw new Test262Error('#7: 7E+1 === 70');
|
||||
}
|
||||
|
||||
//CHE+CK#8
|
||||
if (8E+1 !== 80) {
|
||||
$ERROR('#8: 8E+1 === 80');
|
||||
throw new Test262Error('#8: 8E+1 === 80');
|
||||
}
|
||||
|
||||
//CHE+CK#9
|
||||
if (9E+1 !== 90) {
|
||||
$ERROR('#9: 9E+1 === 90');
|
||||
throw new Test262Error('#9: 9E+1 === 90');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e 0"
|
|||
|
||||
//CHECK#0
|
||||
if (0e0 !== 0) {
|
||||
$ERROR('#0: 0e0 === 0');
|
||||
throw new Test262Error('#0: 0e0 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1e0 !== 1) {
|
||||
$ERROR('#1: 1e0 === 1');
|
||||
throw new Test262Error('#1: 1e0 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2e0 !== 2) {
|
||||
$ERROR('#2: 2e0 === 2');
|
||||
throw new Test262Error('#2: 2e0 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3e0 !== 3) {
|
||||
$ERROR('#3: 3e0 === 3');
|
||||
throw new Test262Error('#3: 3e0 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4e0 !== 4) {
|
||||
$ERROR('#4: 4e0 === 4');
|
||||
throw new Test262Error('#4: 4e0 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5e0 !== 5) {
|
||||
$ERROR('#5: 5e0 === 5');
|
||||
throw new Test262Error('#5: 5e0 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6e0 !== 6) {
|
||||
$ERROR('#6: 6e0 === 6');
|
||||
throw new Test262Error('#6: 6e0 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7e0 !== 7) {
|
||||
$ERROR('#7: 7e0 === 7');
|
||||
throw new Test262Error('#7: 7e0 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8e0 !== 8) {
|
||||
$ERROR('#8: 8e0 === 8');
|
||||
throw new Test262Error('#8: 8e0 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9e0 !== 9) {
|
||||
$ERROR('#9: 9e0 === 9');
|
||||
throw new Test262Error('#9: 9e0 === 9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E 0"
|
|||
|
||||
//CHECK#0
|
||||
if (0E0 !== 0) {
|
||||
$ERROR('#0: 0E0 === 0');
|
||||
throw new Test262Error('#0: 0E0 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1E0 !== 1) {
|
||||
$ERROR('#1: 1E0 === 1');
|
||||
throw new Test262Error('#1: 1E0 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2E0 !== 2) {
|
||||
$ERROR('#2: 2E0 === 2');
|
||||
throw new Test262Error('#2: 2E0 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3E0 !== 3) {
|
||||
$ERROR('#3: 3E0 === 3');
|
||||
throw new Test262Error('#3: 3E0 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4E0 !== 4) {
|
||||
$ERROR('#4: 4E0 === 4');
|
||||
throw new Test262Error('#4: 4E0 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5E0 !== 5) {
|
||||
$ERROR('#5: 5E0 === 5');
|
||||
throw new Test262Error('#5: 5E0 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6E0 !== 6) {
|
||||
$ERROR('#6: 6E0 === 6');
|
||||
throw new Test262Error('#6: 6E0 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7E0 !== 7) {
|
||||
$ERROR('#7: 7E0 === 7');
|
||||
throw new Test262Error('#7: 7E0 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8E0 !== 8) {
|
||||
$ERROR('#8: 8E0 === 8');
|
||||
throw new Test262Error('#8: 8E0 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9E0 !== 9) {
|
||||
$ERROR('#9: 9E0 === 9');
|
||||
throw new Test262Error('#9: 9E0 === 9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: Use .DecimalDigit
|
|||
|
||||
//CHECK#0
|
||||
if (.0 !== 0.0) {
|
||||
$ERROR('#0: .0 === 0.0');
|
||||
throw new Test262Error('#0: .0 === 0.0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (.1 !== 0.1) {
|
||||
$ERROR('#1: .1 === 0.1');
|
||||
throw new Test262Error('#1: .1 === 0.1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (.2 !== 0.2) {
|
||||
$ERROR('#2: .2 === 0.2');
|
||||
throw new Test262Error('#2: .2 === 0.2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (.3 !== 0.3) {
|
||||
$ERROR('#3: .3 === 0.3');
|
||||
throw new Test262Error('#3: .3 === 0.3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (.4 !== 0.4) {
|
||||
$ERROR('#4: .4 === 0.4');
|
||||
throw new Test262Error('#4: .4 === 0.4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (.5 !== 0.5) {
|
||||
$ERROR('#5: .5 === 0.5');
|
||||
throw new Test262Error('#5: .5 === 0.5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (.6 !== 0.6) {
|
||||
$ERROR('#6: .6 === 0.6');
|
||||
throw new Test262Error('#6: .6 === 0.6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (.7 !== 0.7) {
|
||||
$ERROR('#7: .7 === 0.7');
|
||||
throw new Test262Error('#7: .7 === 0.7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (.8 !== 0.8) {
|
||||
$ERROR('#8: .8 === 0.8');
|
||||
throw new Test262Error('#8: .8 === 0.8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (.9 !== 0.9) {
|
||||
$ERROR('#9: .9 === 0.9');
|
||||
throw new Test262Error('#9: .9 === 0.9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: Use .DecimalDigits
|
|||
|
||||
//CHECK#0
|
||||
if (.00 !== 0.00) {
|
||||
$ERROR('#0: .00 === 0.00');
|
||||
throw new Test262Error('#0: .00 === 0.00');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (.11 !== 0.11) {
|
||||
$ERROR('#1: .11 === 0.11');
|
||||
throw new Test262Error('#1: .11 === 0.11');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (.22 !== 0.22) {
|
||||
$ERROR('#2: .22 === 0.22');
|
||||
throw new Test262Error('#2: .22 === 0.22');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (.33 !== 0.33) {
|
||||
$ERROR('#3: .33 === 0.33');
|
||||
throw new Test262Error('#3: .33 === 0.33');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (.44 !== 0.44) {
|
||||
$ERROR('#4: .44 === 0.44');
|
||||
throw new Test262Error('#4: .44 === 0.44');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (.55 !== 0.55) {
|
||||
$ERROR('#5: .55 === 0.55');
|
||||
throw new Test262Error('#5: .55 === 0.55');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (.66 !== 0.66) {
|
||||
$ERROR('#6: .66 === 0.66');
|
||||
throw new Test262Error('#6: .66 === 0.66');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (.77 !== 0.77) {
|
||||
$ERROR('#7: .77 === 0.77');
|
||||
throw new Test262Error('#7: .77 === 0.77');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (.88 !== 0.88) {
|
||||
$ERROR('#8: .88 === 0.88');
|
||||
throw new Test262Error('#8: .88 === 0.88');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (.99 !== 0.99) {
|
||||
$ERROR('#9: .99 === 0.99');
|
||||
throw new Test262Error('#9: .99 === 0.99');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: Use .DecimalDigits that have at the end zeros
|
|||
|
||||
//CHECK#0
|
||||
if (.00 !== 0.0) {
|
||||
$ERROR('#0: .0 === 0.0');
|
||||
throw new Test262Error('#0: .0 === 0.0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (.10 !== 0.1) {
|
||||
$ERROR('#1: .1 === 0.1');
|
||||
throw new Test262Error('#1: .1 === 0.1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (.20 !== 0.2) {
|
||||
$ERROR('#2: .2 === 0.2');
|
||||
throw new Test262Error('#2: .2 === 0.2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (.30 !== 0.3) {
|
||||
$ERROR('#3: .3 === 0.3');
|
||||
throw new Test262Error('#3: .3 === 0.3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (.40 !== 0.4) {
|
||||
$ERROR('#4: .4 === 0.4');
|
||||
throw new Test262Error('#4: .4 === 0.4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (.50 !== 0.5) {
|
||||
$ERROR('#5: .5 === 0.5');
|
||||
throw new Test262Error('#5: .5 === 0.5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (.60 !== 0.6) {
|
||||
$ERROR('#6: .6 === 0.6');
|
||||
throw new Test262Error('#6: .6 === 0.6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (.70 !== 0.7) {
|
||||
$ERROR('#7: .7 === 0.7');
|
||||
throw new Test262Error('#7: .7 === 0.7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (.80 !== 0.8) {
|
||||
$ERROR('#8: .8 === 0.8');
|
||||
throw new Test262Error('#8: .8 === 0.8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (.90 !== 0.9) {
|
||||
$ERROR('#9: .9 === 0.9');
|
||||
throw new Test262Error('#9: .9 === 0.9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (.0e1 !== 0) {
|
||||
$ERROR('#0: .0e1 === 0');
|
||||
throw new Test262Error('#0: .0e1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (.1e1 !== 1) {
|
||||
$ERROR('#1: .1e1 === 1');
|
||||
throw new Test262Error('#1: .1e1 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (.2e1 !== 2) {
|
||||
$ERROR('#2: .2e1 === 2');
|
||||
throw new Test262Error('#2: .2e1 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (.3e1 !== 3) {
|
||||
$ERROR('#3: .3e1 === 3');
|
||||
throw new Test262Error('#3: .3e1 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (.4e1 !== 4) {
|
||||
$ERROR('#4: .4e1 === 4');
|
||||
throw new Test262Error('#4: .4e1 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (.5e1 !== 5) {
|
||||
$ERROR('#5: .5e1 === 5');
|
||||
throw new Test262Error('#5: .5e1 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (.6e1 !== 6) {
|
||||
$ERROR('#6: .6e1 === 6');
|
||||
throw new Test262Error('#6: .6e1 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (.7e1 !== 7) {
|
||||
$ERROR('#7: .7e1 === 7');
|
||||
throw new Test262Error('#7: .7e1 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (.8e1 !== 8) {
|
||||
$ERROR('#8: .8e1 === 8');
|
||||
throw new Test262Error('#8: .8e1 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (.9e1 !== 9) {
|
||||
$ERROR('#9: .9e1 === 9');
|
||||
throw new Test262Error('#9: .9e1 === 9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (.0E1 !== 0) {
|
||||
$ERROR('#0: .0E1 === 0');
|
||||
throw new Test262Error('#0: .0E1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (.1E1 !== 1) {
|
||||
$ERROR('#1: .1E1 === 1');
|
||||
throw new Test262Error('#1: .1E1 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (.2E1 !== 2) {
|
||||
$ERROR('#2: .2E1 === 2');
|
||||
throw new Test262Error('#2: .2E1 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (.3E1 !== 3) {
|
||||
$ERROR('#3: .3E1 === 3');
|
||||
throw new Test262Error('#3: .3E1 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (.4E1 !== 4) {
|
||||
$ERROR('#4: .4E1 === 4');
|
||||
throw new Test262Error('#4: .4E1 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (.5E1 !== 5) {
|
||||
$ERROR('#5: .5E1 === 5');
|
||||
throw new Test262Error('#5: .5E1 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (.6E1 !== 6) {
|
||||
$ERROR('#6: .6E1 === 6');
|
||||
throw new Test262Error('#6: .6E1 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (.7E1 !== 7) {
|
||||
$ERROR('#7: .7E1 === 7');
|
||||
throw new Test262Error('#7: .7E1 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (.8E1 !== 8) {
|
||||
$ERROR('#8: .8E1 === 8');
|
||||
throw new Test262Error('#8: .8E1 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (.9E1 !== 9) {
|
||||
$ERROR('#9: .9E1 === 9');
|
||||
throw new Test262Error('#9: .9E1 === 9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e +DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (.0e-1 !== 0) {
|
||||
$ERROR('#0: .0e-1 === 0');
|
||||
throw new Test262Error('#0: .0e-1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (.1e-1 !== 0.01) {
|
||||
$ERROR('#1: .1e-1 === 0.01');
|
||||
throw new Test262Error('#1: .1e-1 === 0.01');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (.2e-1 !== 0.02) {
|
||||
$ERROR('#2: .2e-1 === 0.02');
|
||||
throw new Test262Error('#2: .2e-1 === 0.02');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (.3e-1 !== 0.03) {
|
||||
$ERROR('#3: .3e-1 === 0.03');
|
||||
throw new Test262Error('#3: .3e-1 === 0.03');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (.4e-1 !== 0.04) {
|
||||
$ERROR('#4: .4e-1 === 0.04');
|
||||
throw new Test262Error('#4: .4e-1 === 0.04');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (.5e-1 !== 0.05) {
|
||||
$ERROR('#5: .5e-1 === 0.05');
|
||||
throw new Test262Error('#5: .5e-1 === 0.05');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (.6e-1 !== 0.06) {
|
||||
$ERROR('#6: .6e-1 === 0.06');
|
||||
throw new Test262Error('#6: .6e-1 === 0.06');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (.7e-1 !== 0.07) {
|
||||
$ERROR('#7: .7e-1 === 0.07');
|
||||
throw new Test262Error('#7: .7e-1 === 0.07');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (.8e-1 !== 0.08) {
|
||||
$ERROR('#8: .8e-1 === 0.08');
|
||||
throw new Test262Error('#8: .8e-1 === 0.08');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (.9e-1 !== 0.09) {
|
||||
$ERROR('#9: .9e-1 === 0.09');
|
||||
throw new Test262Error('#9: .9e-1 === 0.09');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E +DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (.0E-1 !== 0) {
|
||||
$ERROR('#0: .0E-1 === 0');
|
||||
throw new Test262Error('#0: .0E-1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (.1E-1 !== 0.01) {
|
||||
$ERROR('#1: .1E-1 === 0.01');
|
||||
throw new Test262Error('#1: .1E-1 === 0.01');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (.2E-1 !== 0.02) {
|
||||
$ERROR('#2: .2E-1 === 0.02');
|
||||
throw new Test262Error('#2: .2E-1 === 0.02');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (.3E-1 !== 0.03) {
|
||||
$ERROR('#3: .3E-1 === 0.03');
|
||||
throw new Test262Error('#3: .3E-1 === 0.03');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (.4E-1 !== 0.04) {
|
||||
$ERROR('#4: .4E-1 === 0.04');
|
||||
throw new Test262Error('#4: .4E-1 === 0.04');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (.5E-1 !== 0.05) {
|
||||
$ERROR('#5: .5E-1 === 0.05');
|
||||
throw new Test262Error('#5: .5E-1 === 0.05');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (.6E-1 !== 0.06) {
|
||||
$ERROR('#6: .6E-1 === 0.06');
|
||||
throw new Test262Error('#6: .6E-1 === 0.06');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (.7E-1 !== 0.07) {
|
||||
$ERROR('#7: .7E-1 === 0.07');
|
||||
throw new Test262Error('#7: .7E-1 === 0.07');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (.8E-1 !== 0.08) {
|
||||
$ERROR('#8: .8E-1 === 0.08');
|
||||
throw new Test262Error('#8: .8E-1 === 0.08');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (.9E-1 !== 0.09) {
|
||||
$ERROR('#9: .9E-1 === 0.09');
|
||||
throw new Test262Error('#9: .9E-1 === 0.09');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e +DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (.0e+1 !== 0) {
|
||||
$ERROR('#0: .0e+1 === 0');
|
||||
throw new Test262Error('#0: .0e+1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (.1e+1 !== 1) {
|
||||
$ERROR('#1: .1e+1 === 1');
|
||||
throw new Test262Error('#1: .1e+1 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (.2e+1 !== 2) {
|
||||
$ERROR('#2: .2e+1 === 2');
|
||||
throw new Test262Error('#2: .2e+1 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (.3e+1 !== 3) {
|
||||
$ERROR('#3: .3e+1 === 3');
|
||||
throw new Test262Error('#3: .3e+1 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (.4e+1 !== 4) {
|
||||
$ERROR('#4: .4e+1 === 4');
|
||||
throw new Test262Error('#4: .4e+1 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (.5e+1 !== 5) {
|
||||
$ERROR('#5: .5e+1 === 5');
|
||||
throw new Test262Error('#5: .5e+1 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (.6e+1 !== 6) {
|
||||
$ERROR('#6: .6e+1 === 6');
|
||||
throw new Test262Error('#6: .6e+1 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (.7e+1 !== 7) {
|
||||
$ERROR('#7: .7e+1 === 7');
|
||||
throw new Test262Error('#7: .7e+1 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (.8e+1 !== 8) {
|
||||
$ERROR('#8: .8e+1 === 8');
|
||||
throw new Test262Error('#8: .8e+1 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (.9e+1 !== 9) {
|
||||
$ERROR('#9: .9e+1 === 9');
|
||||
throw new Test262Error('#9: .9e+1 === 9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E +DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (.0E+1 !== 0) {
|
||||
$ERROR('#0: .0E+1 === 0');
|
||||
throw new Test262Error('#0: .0E+1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (.1E+1 !== 1) {
|
||||
$ERROR('#1: .1E+1 === 1');
|
||||
throw new Test262Error('#1: .1E+1 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (.2E+1 !== 2) {
|
||||
$ERROR('#2: .2E+1 === 2');
|
||||
throw new Test262Error('#2: .2E+1 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (.3E+1 !== 3) {
|
||||
$ERROR('#3: .3E+1 === 3');
|
||||
throw new Test262Error('#3: .3E+1 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (.4E+1 !== 4) {
|
||||
$ERROR('#4: .4E+1 === 4');
|
||||
throw new Test262Error('#4: .4E+1 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (.5E+1 !== 5) {
|
||||
$ERROR('#5: .5E+1 === 5');
|
||||
throw new Test262Error('#5: .5E+1 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (.6E+1 !== 6) {
|
||||
$ERROR('#6: .6E+1 === 6');
|
||||
throw new Test262Error('#6: .6E+1 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (.7E+1 !== 7) {
|
||||
$ERROR('#7: .7E+1 === 7');
|
||||
throw new Test262Error('#7: .7E+1 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (.8E+1 !== 8) {
|
||||
$ERROR('#8: .8E+1 === 8');
|
||||
throw new Test262Error('#8: .8E+1 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (.9E+1 !== 9) {
|
||||
$ERROR('#9: .9E+1 === 9');
|
||||
throw new Test262Error('#9: .9E+1 === 9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e 0"
|
|||
|
||||
//CHECK#0
|
||||
if (.0e0 !== 0.0) {
|
||||
$ERROR('#0: .0e0 === 0.0');
|
||||
throw new Test262Error('#0: .0e0 === 0.0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (.1e0 !== 0.1) {
|
||||
$ERROR('#1: .1e0 === 0.1');
|
||||
throw new Test262Error('#1: .1e0 === 0.1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (.2e0 !== 0.2) {
|
||||
$ERROR('#2: .2e0 === 0.2');
|
||||
throw new Test262Error('#2: .2e0 === 0.2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (.3e0 !== 0.3) {
|
||||
$ERROR('#3: .3e0 === 0.3');
|
||||
throw new Test262Error('#3: .3e0 === 0.3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (.4e0 !== 0.4) {
|
||||
$ERROR('#4: .4e0 === 0.4');
|
||||
throw new Test262Error('#4: .4e0 === 0.4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (.5e0 !== 0.5) {
|
||||
$ERROR('#5: .5e0 === 0.5');
|
||||
throw new Test262Error('#5: .5e0 === 0.5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (.6e0 !== 0.6) {
|
||||
$ERROR('#6: .6e0 === 0.6');
|
||||
throw new Test262Error('#6: .6e0 === 0.6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (.7e0 !== 0.7) {
|
||||
$ERROR('#7: .7e0 === 0.7');
|
||||
throw new Test262Error('#7: .7e0 === 0.7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (.8e0 !== 0.8) {
|
||||
$ERROR('#8: .8e0 === 0.8');
|
||||
throw new Test262Error('#8: .8e0 === 0.8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (.9e0 !== 0.9) {
|
||||
$ERROR('#9: .9e0 === 0.9');
|
||||
throw new Test262Error('#9: .9e0 === 0.9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E 0"
|
|||
|
||||
//CHECK#0
|
||||
if (.0E0 !== 0.0) {
|
||||
$ERROR('#0: .0E0 === 0.0');
|
||||
throw new Test262Error('#0: .0E0 === 0.0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (.1E0 !== 0.1) {
|
||||
$ERROR('#1: .1E0 === 0.1');
|
||||
throw new Test262Error('#1: .1E0 === 0.1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (.2E0 !== 0.2) {
|
||||
$ERROR('#2: .2E0 === 0.2');
|
||||
throw new Test262Error('#2: .2E0 === 0.2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (.3E0 !== 0.3) {
|
||||
$ERROR('#3: .3E0 === 0.3');
|
||||
throw new Test262Error('#3: .3E0 === 0.3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (.4E0 !== 0.4) {
|
||||
$ERROR('#4: .4E0 === 0.4');
|
||||
throw new Test262Error('#4: .4E0 === 0.4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (.5E0 !== 0.5) {
|
||||
$ERROR('#5: .5E0 === 0.5');
|
||||
throw new Test262Error('#5: .5E0 === 0.5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (.6E0 !== 0.6) {
|
||||
$ERROR('#6: .6E0 === 0.6');
|
||||
throw new Test262Error('#6: .6E0 === 0.6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (.7E0 !== 0.7) {
|
||||
$ERROR('#7: .7E0 === 0.7');
|
||||
throw new Test262Error('#7: .7E0 === 0.7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (.8E0 !== 0.8) {
|
||||
$ERROR('#8: .8E0 === 0.8');
|
||||
throw new Test262Error('#8: .8E0 === 0.8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (.9E0 !== 0.9) {
|
||||
$ERROR('#9: .9E0 === 0.9');
|
||||
throw new Test262Error('#9: .9E0 === 0.9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "DecimalIntegerLiteral :: 0, NoNZeroDigit"
|
|||
|
||||
//CHECK#0
|
||||
if (0. !== 0) {
|
||||
$ERROR('#0: 0. === 0');
|
||||
throw new Test262Error('#0: 0. === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1. !== 1) {
|
||||
$ERROR('#1: 1. === 1');
|
||||
throw new Test262Error('#1: 1. === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2. !== 2) {
|
||||
$ERROR('#2: 2. === 2');
|
||||
throw new Test262Error('#2: 2. === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3. !== 3) {
|
||||
$ERROR('#3: 3. === 3');
|
||||
throw new Test262Error('#3: 3. === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4. !== 4) {
|
||||
$ERROR('#4: 4. === 4');
|
||||
throw new Test262Error('#4: 4. === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5. !== 5) {
|
||||
$ERROR('#5: 5. === 5');
|
||||
throw new Test262Error('#5: 5. === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6. !== 6) {
|
||||
$ERROR('#6: 6. === 6');
|
||||
throw new Test262Error('#6: 6. === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7. !== 7) {
|
||||
$ERROR('#7: 7. === 7');
|
||||
throw new Test262Error('#7: 7. === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8. !== 8) {
|
||||
$ERROR('#8: 8. === 8');
|
||||
throw new Test262Error('#8: 8. === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9. !== 9) {
|
||||
$ERROR('#9: 9. === 9');
|
||||
throw new Test262Error('#9: 9. === 9');
|
||||
}
|
||||
|
|
|
@ -9,45 +9,45 @@ description: "DecimalIntegerLiteral :: NoNZeroDigit DecimalDigigts"
|
|||
|
||||
//CHECK#1
|
||||
if (11. !== 11) {
|
||||
$ERROR('#1: 11. === 11');
|
||||
throw new Test262Error('#1: 11. === 11');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (22. !== 22) {
|
||||
$ERROR('#2: 22. === 22');
|
||||
throw new Test262Error('#2: 22. === 22');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (33. !== 33) {
|
||||
$ERROR('#3: 33. === 33');
|
||||
throw new Test262Error('#3: 33. === 33');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (44. !== 44) {
|
||||
$ERROR('#4: 44. === 44');
|
||||
throw new Test262Error('#4: 44. === 44');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (55. !== 55) {
|
||||
$ERROR('#5: 55. === 55');
|
||||
throw new Test262Error('#5: 55. === 55');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (66. !== 66) {
|
||||
$ERROR('#6: 66. === 66');
|
||||
throw new Test262Error('#6: 66. === 66');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (77. !== 77) {
|
||||
$ERROR('#7: 77. === 77');
|
||||
throw new Test262Error('#7: 77. === 77');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (88. !== 88) {
|
||||
$ERROR('#8: 88. === 88');
|
||||
throw new Test262Error('#8: 88. === 88');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (99. !== 99) {
|
||||
$ERROR('#9: 99. === 99');
|
||||
throw new Test262Error('#9: 99. === 99');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: After DecimalIntegerLiteral. used ZeroDigit
|
|||
|
||||
//CHECK#0
|
||||
if (0.0 !== 0) {
|
||||
$ERROR('#0: 0.0 === 0');
|
||||
throw new Test262Error('#0: 0.0 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.0 !== 1) {
|
||||
$ERROR('#1: 1.0 === 1');
|
||||
throw new Test262Error('#1: 1.0 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.0 !== 2) {
|
||||
$ERROR('#2: 2.0 === 2');
|
||||
throw new Test262Error('#2: 2.0 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.0 !== 3) {
|
||||
$ERROR('#3: 3.0 === 3');
|
||||
throw new Test262Error('#3: 3.0 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.0 !== 4) {
|
||||
$ERROR('#4: 4.0 === 4');
|
||||
throw new Test262Error('#4: 4.0 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.0 !== 5) {
|
||||
$ERROR('#5: 5.0 === 5');
|
||||
throw new Test262Error('#5: 5.0 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.0 !== 6) {
|
||||
$ERROR('#6: 6.0 === 6');
|
||||
throw new Test262Error('#6: 6.0 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.0 !== 7) {
|
||||
$ERROR('#7: 7.0 === 7');
|
||||
throw new Test262Error('#7: 7.0 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.0 !== 8) {
|
||||
$ERROR('#8: 8.0 === 8');
|
||||
throw new Test262Error('#8: 8.0 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.0 !== 9) {
|
||||
$ERROR('#9: 9.0 === 9');
|
||||
throw new Test262Error('#9: 9.0 === 9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: After DecimalIntegerLiteral. used ZeroDigits
|
|||
|
||||
//CHECK#0
|
||||
if (0.00 !== 0) {
|
||||
$ERROR('#0: 0.00 === 0');
|
||||
throw new Test262Error('#0: 0.00 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.00 !== 1) {
|
||||
$ERROR('#1: 1.00 === 1');
|
||||
throw new Test262Error('#1: 1.00 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.00 !== 2) {
|
||||
$ERROR('#2: 2.00 === 2');
|
||||
throw new Test262Error('#2: 2.00 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.00 !== 3) {
|
||||
$ERROR('#3: 3.00 === 3');
|
||||
throw new Test262Error('#3: 3.00 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.00 !== 4) {
|
||||
$ERROR('#4: 4.00 === 4');
|
||||
throw new Test262Error('#4: 4.00 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.00 !== 5) {
|
||||
$ERROR('#5: 5.00 === 5');
|
||||
throw new Test262Error('#5: 5.00 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.00 !== 6) {
|
||||
$ERROR('#6: 6.00 === 6');
|
||||
throw new Test262Error('#6: 6.00 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.00 !== 7) {
|
||||
$ERROR('#7: 7.00 === 7');
|
||||
throw new Test262Error('#7: 7.00 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.00 !== 8) {
|
||||
$ERROR('#8: 8.00 === 8');
|
||||
throw new Test262Error('#8: 8.00 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.00 !== 9) {
|
||||
$ERROR('#9: 9.00 === 9');
|
||||
throw new Test262Error('#9: 9.00 === 9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: After DecimalIntegerLiteral. used NoNZeroDigit
|
|||
|
||||
//CHECK#0
|
||||
if (0.0 !== 0.0) {
|
||||
$ERROR('#0: 0.0 === 0.0');
|
||||
throw new Test262Error('#0: 0.0 === 0.0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.1 !== 1.1) {
|
||||
$ERROR('#1: 1.1 === 1.1');
|
||||
throw new Test262Error('#1: 1.1 === 1.1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.2 !== 2.2) {
|
||||
$ERROR('#2: 2.2 === 2.2');
|
||||
throw new Test262Error('#2: 2.2 === 2.2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.3 !== 3.3) {
|
||||
$ERROR('#3: 3.3 === 3.3');
|
||||
throw new Test262Error('#3: 3.3 === 3.3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.4 !== 4.4) {
|
||||
$ERROR('#4: 4.4 === 4.4');
|
||||
throw new Test262Error('#4: 4.4 === 4.4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.5 !== 5.5) {
|
||||
$ERROR('#5: 5.5 === 5.5');
|
||||
throw new Test262Error('#5: 5.5 === 5.5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.6 !== 6.6) {
|
||||
$ERROR('#6: 6.6 === 6.6');
|
||||
throw new Test262Error('#6: 6.6 === 6.6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.7 !== 7.7) {
|
||||
$ERROR('#7: 7.7 === 7.7');
|
||||
throw new Test262Error('#7: 7.7 === 7.7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.8 !== 8.8) {
|
||||
$ERROR('#8: 8..8 === 8.8');
|
||||
throw new Test262Error('#8: 8..8 === 8.8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.9 !== 9.9) {
|
||||
$ERROR('#9: 9.9 === 9.9');
|
||||
throw new Test262Error('#9: 9.9 === 9.9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0.e1 !== 0) {
|
||||
$ERROR('#0: 0.e1 === 0');
|
||||
throw new Test262Error('#0: 0.e1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.e1 !== 10) {
|
||||
$ERROR('#1: 1.e1 === 10');
|
||||
throw new Test262Error('#1: 1.e1 === 10');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.e1 !== 20) {
|
||||
$ERROR('#2: 2.e1 === 20');
|
||||
throw new Test262Error('#2: 2.e1 === 20');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.e1 !== 30) {
|
||||
$ERROR('#3: 3.e1 === 30');
|
||||
throw new Test262Error('#3: 3.e1 === 30');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.e1 !== 40) {
|
||||
$ERROR('#4: 4.e1 === 40');
|
||||
throw new Test262Error('#4: 4.e1 === 40');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.e1 !== 50) {
|
||||
$ERROR('#5: 5.e1 === 50');
|
||||
throw new Test262Error('#5: 5.e1 === 50');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.e1 !== 60) {
|
||||
$ERROR('#6: 6.e1 === 60');
|
||||
throw new Test262Error('#6: 6.e1 === 60');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.e1 !== 70) {
|
||||
$ERROR('#7: 7.e1 === 70');
|
||||
throw new Test262Error('#7: 7.e1 === 70');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.e1 !== 80) {
|
||||
$ERROR('#8: 8.e1 === 80');
|
||||
throw new Test262Error('#8: 8.e1 === 80');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.e1 !== 90) {
|
||||
$ERROR('#9: 9.e1 === 90');
|
||||
throw new Test262Error('#9: 9.e1 === 90');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0.E1 !== 0) {
|
||||
$ERROR('#0: 0.E1 === 0');
|
||||
throw new Test262Error('#0: 0.E1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.E1 !== 10) {
|
||||
$ERROR('#1: 1.E1 === 10');
|
||||
throw new Test262Error('#1: 1.E1 === 10');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.E1 !== 20) {
|
||||
$ERROR('#2: 2.E1 === 20');
|
||||
throw new Test262Error('#2: 2.E1 === 20');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.E1 !== 30) {
|
||||
$ERROR('#3: 3.E1 === 30');
|
||||
throw new Test262Error('#3: 3.E1 === 30');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.E1 !== 40) {
|
||||
$ERROR('#4: 4.E1 === 40');
|
||||
throw new Test262Error('#4: 4.E1 === 40');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.E1 !== 50) {
|
||||
$ERROR('#5: 5.E1 === 50');
|
||||
throw new Test262Error('#5: 5.E1 === 50');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.E1 !== 60) {
|
||||
$ERROR('#6: 6.E1 === 60');
|
||||
throw new Test262Error('#6: 6.E1 === 60');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.E1 !== 70) {
|
||||
$ERROR('#7: 7.E1 === 70');
|
||||
throw new Test262Error('#7: 7.E1 === 70');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.E1 !== 80) {
|
||||
$ERROR('#8: 8.E1 === 80');
|
||||
throw new Test262Error('#8: 8.E1 === 80');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.E1 !== 90) {
|
||||
$ERROR('#9: 9.E1 === 90');
|
||||
throw new Test262Error('#9: 9.E1 === 90');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e -DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0.e-1 !== 0) {
|
||||
$ERROR('#0: 0.e-1 === 0');
|
||||
throw new Test262Error('#0: 0.e-1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.e-1 !== 0.1) {
|
||||
$ERROR('#1: 1.e-1 === 0.1');
|
||||
throw new Test262Error('#1: 1.e-1 === 0.1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.e-1 !== 0.2) {
|
||||
$ERROR('#2: 2.e-1 === 0.2');
|
||||
throw new Test262Error('#2: 2.e-1 === 0.2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.e-1 !== 0.3) {
|
||||
$ERROR('#3: 3.e-1 === 0.3');
|
||||
throw new Test262Error('#3: 3.e-1 === 0.3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.e-1 !== 0.4) {
|
||||
$ERROR('#4: 4.e-1 === 0.4');
|
||||
throw new Test262Error('#4: 4.e-1 === 0.4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.e-1 !== 0.5) {
|
||||
$ERROR('#5: 5.e-1 === 0.5');
|
||||
throw new Test262Error('#5: 5.e-1 === 0.5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.e-1 !== 0.6) {
|
||||
$ERROR('#6: 6.e-1 === 0.6');
|
||||
throw new Test262Error('#6: 6.e-1 === 0.6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.e-1 !== 0.7) {
|
||||
$ERROR('#7: 7.e-1 === 0.7');
|
||||
throw new Test262Error('#7: 7.e-1 === 0.7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.e-1 !== 0.8) {
|
||||
$ERROR('#8: 8.e-1 === 0.8');
|
||||
throw new Test262Error('#8: 8.e-1 === 0.8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.e-1 !== 0.9) {
|
||||
$ERROR('#9: 9.e-1 === 0.9');
|
||||
throw new Test262Error('#9: 9.e-1 === 0.9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E -DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0.E-1 !== 0) {
|
||||
$ERROR('#0: 0.E-1 === 0');
|
||||
throw new Test262Error('#0: 0.E-1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.E-1 !== 0.1) {
|
||||
$ERROR('#1: 1.E-1 === 0.1');
|
||||
throw new Test262Error('#1: 1.E-1 === 0.1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.E-1 !== 0.2) {
|
||||
$ERROR('#2: 2.E-1 === 0.2');
|
||||
throw new Test262Error('#2: 2.E-1 === 0.2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.E-1 !== 0.3) {
|
||||
$ERROR('#3: 3.E-1 === 0.3');
|
||||
throw new Test262Error('#3: 3.E-1 === 0.3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.E-1 !== 0.4) {
|
||||
$ERROR('#4: 4.E-1 === 0.4');
|
||||
throw new Test262Error('#4: 4.E-1 === 0.4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.E-1 !== 0.5) {
|
||||
$ERROR('#5: 5.E-1 === 0.5');
|
||||
throw new Test262Error('#5: 5.E-1 === 0.5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.E-1 !== 0.6) {
|
||||
$ERROR('#6: 6.E-1 === 0.6');
|
||||
throw new Test262Error('#6: 6.E-1 === 0.6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.E-1 !== 0.7) {
|
||||
$ERROR('#7: 7.E-1 === 0.7');
|
||||
throw new Test262Error('#7: 7.E-1 === 0.7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.E-1 !== 0.8) {
|
||||
$ERROR('#8: 8.E-1 === 0.8');
|
||||
throw new Test262Error('#8: 8.E-1 === 0.8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.E-1 !== 0.9) {
|
||||
$ERROR('#9: 9.E-1 === 0.9');
|
||||
throw new Test262Error('#9: 9.E-1 === 0.9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e +DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0.e+1 !== 0) {
|
||||
$ERROR('#0: 0.e+1 === 0');
|
||||
throw new Test262Error('#0: 0.e+1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.e+1 !== 10) {
|
||||
$ERROR('#1: 1.e+1 === 10');
|
||||
throw new Test262Error('#1: 1.e+1 === 10');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.e+1 !== 20) {
|
||||
$ERROR('#2: 2.e+1 === 20');
|
||||
throw new Test262Error('#2: 2.e+1 === 20');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.e+1 !== 30) {
|
||||
$ERROR('#3: 3.e+1 === 30');
|
||||
throw new Test262Error('#3: 3.e+1 === 30');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.e+1 !== 40) {
|
||||
$ERROR('#4: 4.e+1 === 40');
|
||||
throw new Test262Error('#4: 4.e+1 === 40');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.e+1 !== 50) {
|
||||
$ERROR('#5: 5.e+1 === 50');
|
||||
throw new Test262Error('#5: 5.e+1 === 50');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.e+1 !== 60) {
|
||||
$ERROR('#6: 6.e+1 === 60');
|
||||
throw new Test262Error('#6: 6.e+1 === 60');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.e+1 !== 70) {
|
||||
$ERROR('#7: 7.e+1 === 70');
|
||||
throw new Test262Error('#7: 7.e+1 === 70');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.e+1 !== 80) {
|
||||
$ERROR('#8: 8.e+1 === 80');
|
||||
throw new Test262Error('#8: 8.e+1 === 80');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.e+1 !== 90) {
|
||||
$ERROR('#9: 9.e+1 === 90');
|
||||
throw new Test262Error('#9: 9.e+1 === 90');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E +DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0.E+1 !== 0) {
|
||||
$ERROR('#0: 0.E+1 === 0');
|
||||
throw new Test262Error('#0: 0.E+1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.E+1 !== 10) {
|
||||
$ERROR('#1: 1.E+1 === 10');
|
||||
throw new Test262Error('#1: 1.E+1 === 10');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.E+1 !== 20) {
|
||||
$ERROR('#2: 2.E+1 === 20');
|
||||
throw new Test262Error('#2: 2.E+1 === 20');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.E+1 !== 30) {
|
||||
$ERROR('#3: 3.E+1 === 30');
|
||||
throw new Test262Error('#3: 3.E+1 === 30');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.E+1 !== 40) {
|
||||
$ERROR('#4: 4.E+1 === 40');
|
||||
throw new Test262Error('#4: 4.E+1 === 40');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.E+1 !== 50) {
|
||||
$ERROR('#5: 5.E+1 === 50');
|
||||
throw new Test262Error('#5: 5.E+1 === 50');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.E+1 !== 60) {
|
||||
$ERROR('#6: 6.E+1 === 60');
|
||||
throw new Test262Error('#6: 6.E+1 === 60');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.E+1 !== 70) {
|
||||
$ERROR('#7: 7.E+1 === 70');
|
||||
throw new Test262Error('#7: 7.E+1 === 70');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.E+1 !== 80) {
|
||||
$ERROR('#8: 8.E+1 === 80');
|
||||
throw new Test262Error('#8: 8.E+1 === 80');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.E+1 !== 90) {
|
||||
$ERROR('#9: 9.E+1 === 90');
|
||||
throw new Test262Error('#9: 9.E+1 === 90');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e 0"
|
|||
|
||||
//CHECK#0
|
||||
if (0.e0 !== 0) {
|
||||
$ERROR('#0: 0.e0 === 0');
|
||||
throw new Test262Error('#0: 0.e0 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.e0 !== 1) {
|
||||
$ERROR('#1: 1.e0 === 1');
|
||||
throw new Test262Error('#1: 1.e0 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.e0 !== 2) {
|
||||
$ERROR('#2: 2.e0 === 2');
|
||||
throw new Test262Error('#2: 2.e0 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.e0 !== 3) {
|
||||
$ERROR('#3: 3.e0 === 3');
|
||||
throw new Test262Error('#3: 3.e0 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.e0 !== 4) {
|
||||
$ERROR('#4: 4.e0 === 4');
|
||||
throw new Test262Error('#4: 4.e0 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.e0 !== 5) {
|
||||
$ERROR('#5: 5.e0 === 5');
|
||||
throw new Test262Error('#5: 5.e0 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.e0 !== 6) {
|
||||
$ERROR('#6: 6.e0 === 6');
|
||||
throw new Test262Error('#6: 6.e0 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.e0 !== 7) {
|
||||
$ERROR('#7: 7.e0 === 7');
|
||||
throw new Test262Error('#7: 7.e0 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.e0 !== 8) {
|
||||
$ERROR('#8: 8.e0 === 8');
|
||||
throw new Test262Error('#8: 8.e0 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.e0 !== 9) {
|
||||
$ERROR('#9: 9.e0 === 9');
|
||||
throw new Test262Error('#9: 9.e0 === 9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E 0"
|
|||
|
||||
//CHECK#0
|
||||
if (0.E0 !== 0) {
|
||||
$ERROR('#0: 0.E0 === 0');
|
||||
throw new Test262Error('#0: 0.E0 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.E0 !== 1) {
|
||||
$ERROR('#1: 1.E0 === 1');
|
||||
throw new Test262Error('#1: 1.E0 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.E0 !== 2) {
|
||||
$ERROR('#2: 2.E0 === 2');
|
||||
throw new Test262Error('#2: 2.E0 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.E0 !== 3) {
|
||||
$ERROR('#3: 3.E0 === 3');
|
||||
throw new Test262Error('#3: 3.E0 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.E0 !== 4) {
|
||||
$ERROR('#4: 4.E0 === 4');
|
||||
throw new Test262Error('#4: 4.E0 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.E0 !== 5) {
|
||||
$ERROR('#5: 5.E0 === 5');
|
||||
throw new Test262Error('#5: 5.E0 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.E0 !== 6) {
|
||||
$ERROR('#6: 6.E0 === 6');
|
||||
throw new Test262Error('#6: 6.E0 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.E0 !== 7) {
|
||||
$ERROR('#7: 7.E0 === 7');
|
||||
throw new Test262Error('#7: 7.E0 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.E0 !== 8) {
|
||||
$ERROR('#8: 8.E0 === 8');
|
||||
throw new Test262Error('#8: 8.E0 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.E0 !== 9) {
|
||||
$ERROR('#9: 9.E0 === 9');
|
||||
throw new Test262Error('#9: 9.E0 === 9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0.0e1 !== 0) {
|
||||
$ERROR('#0: 0.0e1 === 0');
|
||||
throw new Test262Error('#0: 0.0e1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.1e1 !== 11) {
|
||||
$ERROR('#1: 1.1e1 === 11');
|
||||
throw new Test262Error('#1: 1.1e1 === 11');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.2e1 !== 22) {
|
||||
$ERROR('#2: 2.2e1 === 22');
|
||||
throw new Test262Error('#2: 2.2e1 === 22');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.3e1 !== 33) {
|
||||
$ERROR('#3: 3.3e1 === 33');
|
||||
throw new Test262Error('#3: 3.3e1 === 33');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.4e1 !== 44) {
|
||||
$ERROR('#4: 4.4e1 === 44');
|
||||
throw new Test262Error('#4: 4.4e1 === 44');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.5e1 !== 55) {
|
||||
$ERROR('#5: 5.5e1 === 55');
|
||||
throw new Test262Error('#5: 5.5e1 === 55');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.6e1 !== 66) {
|
||||
$ERROR('#6: 6.e1 === 66');
|
||||
throw new Test262Error('#6: 6.e1 === 66');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.7e1 !== 77) {
|
||||
$ERROR('#7: 7.7e1 === 77');
|
||||
throw new Test262Error('#7: 7.7e1 === 77');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.8e1 !== 88) {
|
||||
$ERROR('#8: 8.8e1 === 88');
|
||||
throw new Test262Error('#8: 8.8e1 === 88');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.9e1 !== 99) {
|
||||
$ERROR('#9: 9.9e1 === 99');
|
||||
throw new Test262Error('#9: 9.9e1 === 99');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0.0E1 !== 0) {
|
||||
$ERROR('#0: 0.0E1 === 0');
|
||||
throw new Test262Error('#0: 0.0E1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.1E1 !== 11) {
|
||||
$ERROR('#1: 1.1E1 === 11');
|
||||
throw new Test262Error('#1: 1.1E1 === 11');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.2E1 !== 22) {
|
||||
$ERROR('#2: 2.2E1 === 22');
|
||||
throw new Test262Error('#2: 2.2E1 === 22');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.3E1 !== 33) {
|
||||
$ERROR('#3: 3.3E1 === 33');
|
||||
throw new Test262Error('#3: 3.3E1 === 33');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.4E1 !== 44) {
|
||||
$ERROR('#4: 4.4E1 === 44');
|
||||
throw new Test262Error('#4: 4.4E1 === 44');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.5E1 !== 55) {
|
||||
$ERROR('#5: 5.5E1 === 55');
|
||||
throw new Test262Error('#5: 5.5E1 === 55');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.6E1 !== 66) {
|
||||
$ERROR('#6: 6.E1 === 66');
|
||||
throw new Test262Error('#6: 6.E1 === 66');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.7E1 !== 77) {
|
||||
$ERROR('#7: 7.7E1 === 77');
|
||||
throw new Test262Error('#7: 7.7E1 === 77');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.8E1 !== 88) {
|
||||
$ERROR('#8: 8.8E1 === 88');
|
||||
throw new Test262Error('#8: 8.8E1 === 88');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.9E1 !== 99) {
|
||||
$ERROR('#9: 9.9E1 === 99');
|
||||
throw new Test262Error('#9: 9.9E1 === 99');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e -DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0.0e-1 !== 0) {
|
||||
$ERROR('#0: 0.0e-1 === 0');
|
||||
throw new Test262Error('#0: 0.0e-1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.1e-1 !== 0.11) {
|
||||
$ERROR('#1: 1.1e-1 === 0.11');
|
||||
throw new Test262Error('#1: 1.1e-1 === 0.11');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.2e-1 !== 0.22) {
|
||||
$ERROR('#2: 2.2e-1 === 0.22');
|
||||
throw new Test262Error('#2: 2.2e-1 === 0.22');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.3e-1 !== 0.33) {
|
||||
$ERROR('#3: 3.3e-1 === 0.33');
|
||||
throw new Test262Error('#3: 3.3e-1 === 0.33');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.4e-1 !== 0.44) {
|
||||
$ERROR('#4: 4.4e-1 === 0.44');
|
||||
throw new Test262Error('#4: 4.4e-1 === 0.44');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.5e-1 !== 0.55) {
|
||||
$ERROR('#5: 5.5e-1 === 0.55');
|
||||
throw new Test262Error('#5: 5.5e-1 === 0.55');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.6e-1 !== 0.66) {
|
||||
$ERROR('#6: 6.e-1 === 0.66');
|
||||
throw new Test262Error('#6: 6.e-1 === 0.66');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.7e-1 !== 0.77) {
|
||||
$ERROR('#7: 7.7e-1 === 0.77');
|
||||
throw new Test262Error('#7: 7.7e-1 === 0.77');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.8e-1 !== 0.88) {
|
||||
$ERROR('#8: 8.8e-1 === 0.88');
|
||||
throw new Test262Error('#8: 8.8e-1 === 0.88');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.9e-1 !== 0.99) {
|
||||
$ERROR('#9: 9.9e-1 === 0.99');
|
||||
throw new Test262Error('#9: 9.9e-1 === 0.99');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E -DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0.0E-1 !== 0) {
|
||||
$ERROR('#0: 0.0E-1 === 0');
|
||||
throw new Test262Error('#0: 0.0E-1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.1E-1 !== 0.11) {
|
||||
$ERROR('#1: 1.1E-1 === 0.11');
|
||||
throw new Test262Error('#1: 1.1E-1 === 0.11');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.2E-1 !== 0.22) {
|
||||
$ERROR('#2: 2.2E-1 === 0.22');
|
||||
throw new Test262Error('#2: 2.2E-1 === 0.22');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.3E-1 !== 0.33) {
|
||||
$ERROR('#3: 3.3E-1 === 0.33');
|
||||
throw new Test262Error('#3: 3.3E-1 === 0.33');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.4E-1 !== 0.44) {
|
||||
$ERROR('#4: 4.4E-1 === 0.44');
|
||||
throw new Test262Error('#4: 4.4E-1 === 0.44');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.5E-1 !== 0.55) {
|
||||
$ERROR('#5: 5.5E-1 === 0.55');
|
||||
throw new Test262Error('#5: 5.5E-1 === 0.55');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.6E-1 !== 0.66) {
|
||||
$ERROR('#6: 6.E-1 === 0.66');
|
||||
throw new Test262Error('#6: 6.E-1 === 0.66');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.7E-1 !== 0.77) {
|
||||
$ERROR('#7: 7.7E-1 === 0.77');
|
||||
throw new Test262Error('#7: 7.7E-1 === 0.77');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.8E-1 !== 0.88) {
|
||||
$ERROR('#8: 8.8E-1 === 0.88');
|
||||
throw new Test262Error('#8: 8.8E-1 === 0.88');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.9E-1 !== 0.99) {
|
||||
$ERROR('#9: 9.9E-1 === 0.99');
|
||||
throw new Test262Error('#9: 9.9E-1 === 0.99');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e +DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0.0e+1 !== 0) {
|
||||
$ERROR('#0: 0.0e+1 === 0');
|
||||
throw new Test262Error('#0: 0.0e+1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.1e+1 !== 11) {
|
||||
$ERROR('#1: 1.1e+1 === 11');
|
||||
throw new Test262Error('#1: 1.1e+1 === 11');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.2e+1 !== 22) {
|
||||
$ERROR('#2: 2.2e+1 === 22');
|
||||
throw new Test262Error('#2: 2.2e+1 === 22');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.3e+1 !== 33) {
|
||||
$ERROR('#3: 3.3e+1 === 33');
|
||||
throw new Test262Error('#3: 3.3e+1 === 33');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.4e+1 !== 44) {
|
||||
$ERROR('#4: 4.4e+1 === 44');
|
||||
throw new Test262Error('#4: 4.4e+1 === 44');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.5e+1 !== 55) {
|
||||
$ERROR('#5: 5.5e+1 === 55');
|
||||
throw new Test262Error('#5: 5.5e+1 === 55');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.6e+1 !== 66) {
|
||||
$ERROR('#6: 6.e+1 === 66');
|
||||
throw new Test262Error('#6: 6.e+1 === 66');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.7e+1 !== 77) {
|
||||
$ERROR('#7: 7.7e+1 === 77');
|
||||
throw new Test262Error('#7: 7.7e+1 === 77');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.8e+1 !== 88) {
|
||||
$ERROR('#8: 8.8e+1 === 88');
|
||||
throw new Test262Error('#8: 8.8e+1 === 88');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.9e+1 !== 99) {
|
||||
$ERROR('#9: 9.9e+1 === 99');
|
||||
throw new Test262Error('#9: 9.9e+1 === 99');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E +DecimalDigits"
|
|||
|
||||
//CHECK#0
|
||||
if (0.0E+1 !== 0) {
|
||||
$ERROR('#0: 0.0E+1 === 0');
|
||||
throw new Test262Error('#0: 0.0E+1 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.1E+1 !== 11) {
|
||||
$ERROR('#1: 1.1E+1 === 11');
|
||||
throw new Test262Error('#1: 1.1E+1 === 11');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.2E+1 !== 22) {
|
||||
$ERROR('#2: 2.2E+1 === 22');
|
||||
throw new Test262Error('#2: 2.2E+1 === 22');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.3E+1 !== 33) {
|
||||
$ERROR('#3: 3.3E+1 === 33');
|
||||
throw new Test262Error('#3: 3.3E+1 === 33');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.4E+1 !== 44) {
|
||||
$ERROR('#4: 4.4E+1 === 44');
|
||||
throw new Test262Error('#4: 4.4E+1 === 44');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.5E+1 !== 55) {
|
||||
$ERROR('#5: 5.5E+1 === 55');
|
||||
throw new Test262Error('#5: 5.5E+1 === 55');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.6E+1 !== 66) {
|
||||
$ERROR('#6: 6.E+1 === 66');
|
||||
throw new Test262Error('#6: 6.E+1 === 66');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.7E+1 !== 77) {
|
||||
$ERROR('#7: 7.7E+1 === 77');
|
||||
throw new Test262Error('#7: 7.7E+1 === 77');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.8E+1 !== 88) {
|
||||
$ERROR('#8: 8.8E+1 === 88');
|
||||
throw new Test262Error('#8: 8.8E+1 === 88');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.9E+1 !== 99) {
|
||||
$ERROR('#9: 9.9E+1 === 99');
|
||||
throw new Test262Error('#9: 9.9E+1 === 99');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: e 0"
|
|||
|
||||
//CHECK#0
|
||||
if (0.0e0 !== 0.0) {
|
||||
$ERROR('#0: 0.0e0 === 0.0');
|
||||
throw new Test262Error('#0: 0.0e0 === 0.0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.1e0 !== 1.1) {
|
||||
$ERROR('#1: 1.1e0 === 1.1');
|
||||
throw new Test262Error('#1: 1.1e0 === 1.1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.2e0 !== 2.2) {
|
||||
$ERROR('#2: 2.2e0 === 2.2');
|
||||
throw new Test262Error('#2: 2.2e0 === 2.2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.3e0 !== 3.3) {
|
||||
$ERROR('#3: 3.3e0 === 3.3');
|
||||
throw new Test262Error('#3: 3.3e0 === 3.3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.4e0 !== 4.4) {
|
||||
$ERROR('#4: 4.4e0 === 4.4');
|
||||
throw new Test262Error('#4: 4.4e0 === 4.4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.5e0 !== 5.5) {
|
||||
$ERROR('#5: 5.5e0 === 5.5');
|
||||
throw new Test262Error('#5: 5.5e0 === 5.5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.6e0 !== 6.6) {
|
||||
$ERROR('#6: 6.e0 === 6.6');
|
||||
throw new Test262Error('#6: 6.e0 === 6.6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.7e0 !== 7.7) {
|
||||
$ERROR('#7: 7.7e0 === 7.7');
|
||||
throw new Test262Error('#7: 7.7e0 === 7.7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.8e0 !== 8.8) {
|
||||
$ERROR('#8: 8.8e0 === 8.8');
|
||||
throw new Test262Error('#8: 8.8e0 === 8.8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.9e0 !== 9.9) {
|
||||
$ERROR('#9: 9.9e0 === 9.9');
|
||||
throw new Test262Error('#9: 9.9e0 === 9.9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentPart :: E 0"
|
|||
|
||||
//CHECK#0
|
||||
if (0.0E0 !== 0.0) {
|
||||
$ERROR('#0: 0.0E0 === 0.0');
|
||||
throw new Test262Error('#0: 0.0E0 === 0.0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1.1E0 !== 1.1) {
|
||||
$ERROR('#1: 1.1E0 === 1.1');
|
||||
throw new Test262Error('#1: 1.1E0 === 1.1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2.2E0 !== 2.2) {
|
||||
$ERROR('#2: 2.2E0 === 2.2');
|
||||
throw new Test262Error('#2: 2.2E0 === 2.2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3.3E0 !== 3.3) {
|
||||
$ERROR('#3: 3.3E0 === 3.3');
|
||||
throw new Test262Error('#3: 3.3E0 === 3.3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4.4E0 !== 4.4) {
|
||||
$ERROR('#4: 4.4E0 === 4.4');
|
||||
throw new Test262Error('#4: 4.4E0 === 4.4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5.5E0 !== 5.5) {
|
||||
$ERROR('#5: 5.5E0 === 5.5');
|
||||
throw new Test262Error('#5: 5.5E0 === 5.5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6.6E0 !== 6.6) {
|
||||
$ERROR('#6: 6.E0 === 6.6');
|
||||
throw new Test262Error('#6: 6.E0 === 6.6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7.7E0 !== 7.7) {
|
||||
$ERROR('#7: 7.7E0 === 7.7');
|
||||
throw new Test262Error('#7: 7.7E0 === 7.7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8.8E0 !== 8.8) {
|
||||
$ERROR('#8: 8.8E0 === 8.8');
|
||||
throw new Test262Error('#8: 8.8E0 === 8.8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9.9E0 !== 9.9) {
|
||||
$ERROR('#9: 9.9E0 === 9.9');
|
||||
throw new Test262Error('#9: 9.9E0 === 9.9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentIndicator :: e"
|
|||
|
||||
//CHECK#0
|
||||
if (0e01 !== 0) {
|
||||
$ERROR('#0: 0e01 === 0');
|
||||
throw new Test262Error('#0: 0e01 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1e01 !== 10) {
|
||||
$ERROR('#1: 1e01 === 10');
|
||||
throw new Test262Error('#1: 1e01 === 10');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2e01 !== 20) {
|
||||
$ERROR('#2: 2e01 === 20');
|
||||
throw new Test262Error('#2: 2e01 === 20');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3e01 !== 30) {
|
||||
$ERROR('#3: 3e01 === 30');
|
||||
throw new Test262Error('#3: 3e01 === 30');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4e01 !== 40) {
|
||||
$ERROR('#4: 4e01 === 40');
|
||||
throw new Test262Error('#4: 4e01 === 40');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5e01 !== 50) {
|
||||
$ERROR('#5: 5e01 === 50');
|
||||
throw new Test262Error('#5: 5e01 === 50');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6e01 !== 60) {
|
||||
$ERROR('#6: 6e01 === 60');
|
||||
throw new Test262Error('#6: 6e01 === 60');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7e01 !== 70) {
|
||||
$ERROR('#7: 7e01 === 70');
|
||||
throw new Test262Error('#7: 7e01 === 70');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8e01 !== 80) {
|
||||
$ERROR('#8: 8e01 === 80');
|
||||
throw new Test262Error('#8: 8e01 === 80');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9e01 !== 90) {
|
||||
$ERROR('#9: 9e01 === 90');
|
||||
throw new Test262Error('#9: 9e01 === 90');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentIndicator :: E"
|
|||
|
||||
//CHECK#0
|
||||
if (0E01 !== 0) {
|
||||
$ERROR('#0: 0E01 === 0');
|
||||
throw new Test262Error('#0: 0E01 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1E01 !== 10) {
|
||||
$ERROR('#1: 1E01 === 10');
|
||||
throw new Test262Error('#1: 1E01 === 10');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2E01 !== 20) {
|
||||
$ERROR('#2: 2E01 === 20');
|
||||
throw new Test262Error('#2: 2E01 === 20');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3E01 !== 30) {
|
||||
$ERROR('#3: 3E01 === 30');
|
||||
throw new Test262Error('#3: 3E01 === 30');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4E01 !== 40) {
|
||||
$ERROR('#4: 4E01 === 40');
|
||||
throw new Test262Error('#4: 4E01 === 40');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5E01 !== 50) {
|
||||
$ERROR('#5: 5E01 === 50');
|
||||
throw new Test262Error('#5: 5E01 === 50');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6E01 !== 60) {
|
||||
$ERROR('#6: 6E01 === 60');
|
||||
throw new Test262Error('#6: 6E01 === 60');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7E01 !== 70) {
|
||||
$ERROR('#7: 7E01 === 70');
|
||||
throw new Test262Error('#7: 7E01 === 70');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8E01 !== 80) {
|
||||
$ERROR('#8: 8E01 === 80');
|
||||
throw new Test262Error('#8: 8E01 === 80');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9E01 !== 90) {
|
||||
$ERROR('#9: 9E01 === 90');
|
||||
throw new Test262Error('#9: 9E01 === 90');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentIndicator :: e"
|
|||
|
||||
//CHECK#0
|
||||
if (0e-01 !== 0) {
|
||||
$ERROR('#0: 0e-01 === 0');
|
||||
throw new Test262Error('#0: 0e-01 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1e-01 !== 0.1) {
|
||||
$ERROR('#1: 1e-01 === 0.1');
|
||||
throw new Test262Error('#1: 1e-01 === 0.1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2e-01 !== 0.2) {
|
||||
$ERROR('#2: 2e-01 === 0.2');
|
||||
throw new Test262Error('#2: 2e-01 === 0.2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3e-01 !== 0.3) {
|
||||
$ERROR('#3: 3e-01 === 0.3');
|
||||
throw new Test262Error('#3: 3e-01 === 0.3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4e-01 !== 0.4) {
|
||||
$ERROR('#4: 4e-01 === 0.4');
|
||||
throw new Test262Error('#4: 4e-01 === 0.4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5e-01 !== 0.5) {
|
||||
$ERROR('#5: 5e-01 === 0.5');
|
||||
throw new Test262Error('#5: 5e-01 === 0.5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6e-01 !== 0.6) {
|
||||
$ERROR('#6: 6e-01 === 0.6');
|
||||
throw new Test262Error('#6: 6e-01 === 0.6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7e-01 !== 0.7) {
|
||||
$ERROR('#7: 7e-01 === 0.7');
|
||||
throw new Test262Error('#7: 7e-01 === 0.7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8e-01 !== 0.8) {
|
||||
$ERROR('#8: 8e-01 === 0.8');
|
||||
throw new Test262Error('#8: 8e-01 === 0.8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9e-01 !== 0.9) {
|
||||
$ERROR('#9: 9e-01 === 0.9');
|
||||
throw new Test262Error('#9: 9e-01 === 0.9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentIndicator :: E"
|
|||
|
||||
//CHECK#0
|
||||
if (0E-01 !== 0) {
|
||||
$ERROR('#0: 0E-01 === 0');
|
||||
throw new Test262Error('#0: 0E-01 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1E-01 !== 0.1) {
|
||||
$ERROR('#1: 1E-01 === 0.1');
|
||||
throw new Test262Error('#1: 1E-01 === 0.1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2E-01 !== 0.2) {
|
||||
$ERROR('#2: 2E-01 === 0.2');
|
||||
throw new Test262Error('#2: 2E-01 === 0.2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3E-01 !== 0.3) {
|
||||
$ERROR('#3: 3E-01 === 0.3');
|
||||
throw new Test262Error('#3: 3E-01 === 0.3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4E-01 !== 0.4) {
|
||||
$ERROR('#4: 4E-01 === 0.4');
|
||||
throw new Test262Error('#4: 4E-01 === 0.4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5E-01 !== 0.5) {
|
||||
$ERROR('#5: 5E-01 === 0.5');
|
||||
throw new Test262Error('#5: 5E-01 === 0.5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6E-01 !== 0.6) {
|
||||
$ERROR('#6: 6E-01 === 0.6');
|
||||
throw new Test262Error('#6: 6E-01 === 0.6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7E-01 !== 0.7) {
|
||||
$ERROR('#7: 7E-01 === 0.7');
|
||||
throw new Test262Error('#7: 7E-01 === 0.7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8E-01 !== 0.8) {
|
||||
$ERROR('#8: 8E-01 === 0.8');
|
||||
throw new Test262Error('#8: 8E-01 === 0.8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9E-01 !== 0.9) {
|
||||
$ERROR('#9: 9E-01 === 0.9');
|
||||
throw new Test262Error('#9: 9E-01 === 0.9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentIndicator :: e"
|
|||
|
||||
//CHECK#0
|
||||
if (0e+01 !== 0) {
|
||||
$ERROR('#0: 0e+01 === 0');
|
||||
throw new Test262Error('#0: 0e+01 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1e+01 !== 10) {
|
||||
$ERROR('#1: 1e+01 === 10');
|
||||
throw new Test262Error('#1: 1e+01 === 10');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2e+01 !== 20) {
|
||||
$ERROR('#2: 2e+01 === 20');
|
||||
throw new Test262Error('#2: 2e+01 === 20');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3e+01 !== 30) {
|
||||
$ERROR('#3: 3e+01 === 30');
|
||||
throw new Test262Error('#3: 3e+01 === 30');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4e+01 !== 40) {
|
||||
$ERROR('#4: 4e+01 === 40');
|
||||
throw new Test262Error('#4: 4e+01 === 40');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5e+01 !== 50) {
|
||||
$ERROR('#5: 5e+01 === 50');
|
||||
throw new Test262Error('#5: 5e+01 === 50');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6e+01 !== 60) {
|
||||
$ERROR('#6: 6e+01 === 60');
|
||||
throw new Test262Error('#6: 6e+01 === 60');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7e+01 !== 70) {
|
||||
$ERROR('#7: 7e+01 === 70');
|
||||
throw new Test262Error('#7: 7e+01 === 70');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8e+01 !== 80) {
|
||||
$ERROR('#8: 8e+01 === 80');
|
||||
throw new Test262Error('#8: 8e+01 === 80');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9e+01 !== 90) {
|
||||
$ERROR('#9: 9e+01 === 90');
|
||||
throw new Test262Error('#9: 9e+01 === 90');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentIndicator :: E"
|
|||
|
||||
//CHECK#0
|
||||
if (0E+01 !== 0) {
|
||||
$ERROR('#0: 0E+01 === 0');
|
||||
throw new Test262Error('#0: 0E+01 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1E+01 !== 10) {
|
||||
$ERROR('#1: 1E+01 === 10');
|
||||
throw new Test262Error('#1: 1E+01 === 10');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2E+01 !== 20) {
|
||||
$ERROR('#2: 2E+01 === 20');
|
||||
throw new Test262Error('#2: 2E+01 === 20');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3E+01 !== 30) {
|
||||
$ERROR('#3: 3E+01 === 30');
|
||||
throw new Test262Error('#3: 3E+01 === 30');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4E+01 !== 40) {
|
||||
$ERROR('#4: 4E+01 === 40');
|
||||
throw new Test262Error('#4: 4E+01 === 40');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5E+01 !== 50) {
|
||||
$ERROR('#5: 5E+01 === 50');
|
||||
throw new Test262Error('#5: 5E+01 === 50');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6E+01 !== 60) {
|
||||
$ERROR('#6: 6E+01 === 60');
|
||||
throw new Test262Error('#6: 6E+01 === 60');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7E+01 !== 70) {
|
||||
$ERROR('#7: 7E+01 === 70');
|
||||
throw new Test262Error('#7: 7E+01 === 70');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8E+01 !== 80) {
|
||||
$ERROR('#8: 8E+01 === 80');
|
||||
throw new Test262Error('#8: 8E+01 === 80');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9E+01 !== 90) {
|
||||
$ERROR('#9: 9E+01 === 90');
|
||||
throw new Test262Error('#9: 9E+01 === 90');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentIndicator :: e"
|
|||
|
||||
//CHECK#0
|
||||
if (0e00 !== 0) {
|
||||
$ERROR('#0: 0e00 === 0');
|
||||
throw new Test262Error('#0: 0e00 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1e00 !== 1) {
|
||||
$ERROR('#1: 1e00 === 1');
|
||||
throw new Test262Error('#1: 1e00 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2e00 !== 2) {
|
||||
$ERROR('#2: 2e00 === 2');
|
||||
throw new Test262Error('#2: 2e00 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3e00 !== 3) {
|
||||
$ERROR('#3: 3e00 === 3');
|
||||
throw new Test262Error('#3: 3e00 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4e00 !== 4) {
|
||||
$ERROR('#4: 4e00 === 4');
|
||||
throw new Test262Error('#4: 4e00 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5e00 !== 5) {
|
||||
$ERROR('#5: 5e00 === 5');
|
||||
throw new Test262Error('#5: 5e00 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6e00 !== 6) {
|
||||
$ERROR('#6: 6e00 === 6');
|
||||
throw new Test262Error('#6: 6e00 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7e00 !== 7) {
|
||||
$ERROR('#7: 7e00 === 7');
|
||||
throw new Test262Error('#7: 7e00 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8e00 !== 8) {
|
||||
$ERROR('#8: 8e00 === 8');
|
||||
throw new Test262Error('#8: 8e00 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9e00 !== 9) {
|
||||
$ERROR('#9: 9e00 === 9');
|
||||
throw new Test262Error('#9: 9e00 === 9');
|
||||
}
|
||||
|
|
|
@ -9,50 +9,50 @@ description: "ExponentIndicator :: E"
|
|||
|
||||
//CHECK#0
|
||||
if (0E00 !== 0) {
|
||||
$ERROR('#0: 0E00 === 0');
|
||||
throw new Test262Error('#0: 0E00 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (1E00 !== 1) {
|
||||
$ERROR('#1: 1E00 === 1');
|
||||
throw new Test262Error('#1: 1E00 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (2E00 !== 2) {
|
||||
$ERROR('#2: 2E00 === 2');
|
||||
throw new Test262Error('#2: 2E00 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (3E00 !== 3) {
|
||||
$ERROR('#3: 3E00 === 3');
|
||||
throw new Test262Error('#3: 3E00 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (4E00 !== 4) {
|
||||
$ERROR('#4: 4E00 === 4');
|
||||
throw new Test262Error('#4: 4E00 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (5E00 !== 5) {
|
||||
$ERROR('#5: 5E00 === 5');
|
||||
throw new Test262Error('#5: 5E00 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (6E00 !== 6) {
|
||||
$ERROR('#6: 6E00 === 6');
|
||||
throw new Test262Error('#6: 6E00 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (7E00 !== 7) {
|
||||
$ERROR('#7: 7E00 === 7');
|
||||
throw new Test262Error('#7: 7E00 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (8E00 !== 8) {
|
||||
$ERROR('#8: 8E00 === 8');
|
||||
throw new Test262Error('#8: 8E00 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (9E00 !== 9) {
|
||||
$ERROR('#9: 9E00 === 9');
|
||||
throw new Test262Error('#9: 9E00 === 9');
|
||||
}
|
||||
|
|
|
@ -9,80 +9,80 @@ description: "HexIntegerLiteral :: 0x Digit"
|
|||
|
||||
//CHECK#0
|
||||
if (0x0 !== 0) {
|
||||
$ERROR('#0: 0x0 === 0');
|
||||
throw new Test262Error('#0: 0x0 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (0x1 !== 1) {
|
||||
$ERROR('#1: 0x1 === 1');
|
||||
throw new Test262Error('#1: 0x1 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (0x2 !== 2) {
|
||||
$ERROR('#2: 0x2 === 2');
|
||||
throw new Test262Error('#2: 0x2 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (0x3 !== 3) {
|
||||
$ERROR('#3: 0x3 === 3');
|
||||
throw new Test262Error('#3: 0x3 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (0x4 !== 4) {
|
||||
$ERROR('#4: 0x4 === 4');
|
||||
throw new Test262Error('#4: 0x4 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (0x5 !== 5) {
|
||||
$ERROR('#5: 0x5 === 5');
|
||||
throw new Test262Error('#5: 0x5 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (0x6 !== 6) {
|
||||
$ERROR('#6: 0x6 === 6');
|
||||
throw new Test262Error('#6: 0x6 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (0x7 !== 7) {
|
||||
$ERROR('#7: 0x7 === 7');
|
||||
throw new Test262Error('#7: 0x7 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (0x8 !== 8) {
|
||||
$ERROR('#8: 0x8 === 8');
|
||||
throw new Test262Error('#8: 0x8 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (0x9 !== 9) {
|
||||
$ERROR('#9: 0x9 === 9');
|
||||
throw new Test262Error('#9: 0x9 === 9');
|
||||
}
|
||||
|
||||
//CHECK#A
|
||||
if (0xA !== 10) {
|
||||
$ERROR('#A: 0xA === 10');
|
||||
throw new Test262Error('#A: 0xA === 10');
|
||||
}
|
||||
|
||||
//CHECK#B
|
||||
if (0xB !== 11) {
|
||||
$ERROR('#B: 0xB === 11');
|
||||
throw new Test262Error('#B: 0xB === 11');
|
||||
}
|
||||
|
||||
//CHECK#C
|
||||
if (0xC !== 12) {
|
||||
$ERROR('#C: 0xC === 12');
|
||||
throw new Test262Error('#C: 0xC === 12');
|
||||
}
|
||||
|
||||
//CHECK#D
|
||||
if (0xD !== 13) {
|
||||
$ERROR('#D: 0xD === 13');
|
||||
throw new Test262Error('#D: 0xD === 13');
|
||||
}
|
||||
|
||||
//CHECK#E
|
||||
if (0xE !== 14) {
|
||||
$ERROR('#E: 0xE === 14');
|
||||
throw new Test262Error('#E: 0xE === 14');
|
||||
}
|
||||
|
||||
//CHECK#F
|
||||
if (0xF !== 15) {
|
||||
$ERROR('#F: 0xF === 15');
|
||||
throw new Test262Error('#F: 0xF === 15');
|
||||
}
|
||||
|
|
|
@ -9,80 +9,80 @@ description: "HexIntegerLiteral :: 0X Digit"
|
|||
|
||||
//CHECK#0
|
||||
if (0X0 !== 0) {
|
||||
$ERROR('#0: 0X0 === 0');
|
||||
throw new Test262Error('#0: 0X0 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (0X1 !== 1) {
|
||||
$ERROR('#1: 0X1 === 1');
|
||||
throw new Test262Error('#1: 0X1 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (0X2 !== 2) {
|
||||
$ERROR('#2: 0X2 === 2');
|
||||
throw new Test262Error('#2: 0X2 === 2');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (0X3 !== 3) {
|
||||
$ERROR('#3: 0X3 === 3');
|
||||
throw new Test262Error('#3: 0X3 === 3');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (0X4 !== 4) {
|
||||
$ERROR('#4: 0X4 === 4');
|
||||
throw new Test262Error('#4: 0X4 === 4');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (0X5 !== 5) {
|
||||
$ERROR('#5: 0X5 === 5');
|
||||
throw new Test262Error('#5: 0X5 === 5');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (0X6 !== 6) {
|
||||
$ERROR('#6: 0X6 === 6');
|
||||
throw new Test262Error('#6: 0X6 === 6');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (0X7 !== 7) {
|
||||
$ERROR('#7: 0X7 === 7');
|
||||
throw new Test262Error('#7: 0X7 === 7');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (0X8 !== 8) {
|
||||
$ERROR('#8: 0X8 === 8');
|
||||
throw new Test262Error('#8: 0X8 === 8');
|
||||
}
|
||||
|
||||
//CHECK#9
|
||||
if (0X9 !== 9) {
|
||||
$ERROR('#9: 0X9 === 9');
|
||||
throw new Test262Error('#9: 0X9 === 9');
|
||||
}
|
||||
|
||||
//CHECK#A
|
||||
if (0XA !== 10) {
|
||||
$ERROR('#A: 0XA === 10');
|
||||
throw new Test262Error('#A: 0XA === 10');
|
||||
}
|
||||
|
||||
//CHECK#B
|
||||
if (0XB !== 11) {
|
||||
$ERROR('#B: 0XB === 11');
|
||||
throw new Test262Error('#B: 0XB === 11');
|
||||
}
|
||||
|
||||
//CHECK#C
|
||||
if (0XC !== 12) {
|
||||
$ERROR('#C: 0XC === 12');
|
||||
throw new Test262Error('#C: 0XC === 12');
|
||||
}
|
||||
|
||||
//CHECK#D
|
||||
if (0XD !== 13) {
|
||||
$ERROR('#D: 0XD === 13');
|
||||
throw new Test262Error('#D: 0XD === 13');
|
||||
}
|
||||
|
||||
//CHECK#E
|
||||
if (0XE !== 14) {
|
||||
$ERROR('#E: 0XE === 14');
|
||||
throw new Test262Error('#E: 0XE === 14');
|
||||
}
|
||||
|
||||
//CHECK#F
|
||||
if (0XF !== 15) {
|
||||
$ERROR('#F: 0XF === 15');
|
||||
throw new Test262Error('#F: 0XF === 15');
|
||||
}
|
||||
|
|
|
@ -9,45 +9,45 @@ description: "HexIntegerLiteral :: 0x NonZeroDigit Digits"
|
|||
|
||||
//CHECK#0
|
||||
if (0x0 !== 0) {
|
||||
$ERROR('#0: 0x0 === 0');
|
||||
throw new Test262Error('#0: 0x0 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (0x1 !== 1) {
|
||||
$ERROR('#1: 0x1 === 1');
|
||||
throw new Test262Error('#1: 0x1 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (0x10 !== 16) {
|
||||
$ERROR('#2: 0x10 === 16');
|
||||
throw new Test262Error('#2: 0x10 === 16');
|
||||
}
|
||||
|
||||
//CHECK3
|
||||
if (0x100 !== 256) {
|
||||
$ERROR('3: 0x100 === 256');
|
||||
throw new Test262Error('3: 0x100 === 256');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (0x1000 !== 4096) {
|
||||
$ERROR('#4: 0x1000 === 4096');
|
||||
throw new Test262Error('#4: 0x1000 === 4096');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (0x10000 !== 65536) {
|
||||
$ERROR('#5: 0x10000 === 65536');
|
||||
throw new Test262Error('#5: 0x10000 === 65536');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (0x100000 !== 1048576) {
|
||||
$ERROR('#6: 0x100000 === 1048576');
|
||||
throw new Test262Error('#6: 0x100000 === 1048576');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (0x1000000 !== 16777216) {
|
||||
$ERROR('#7: 0x1000000 === 16777216');
|
||||
throw new Test262Error('#7: 0x1000000 === 16777216');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (0x10000000 !== 268435456) {
|
||||
$ERROR('#8: 0x10000000 === 268435456');
|
||||
throw new Test262Error('#8: 0x10000000 === 268435456');
|
||||
}
|
||||
|
|
|
@ -9,45 +9,45 @@ description: "HexIntegerLiteral :: 0X NonZeroDigit Digits"
|
|||
|
||||
//CHECK#0
|
||||
if (0X0 !== 0) {
|
||||
$ERROR('#0: 0X0 === 0');
|
||||
throw new Test262Error('#0: 0X0 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (0X1 !== 1) {
|
||||
$ERROR('#1: 0X1 === 1');
|
||||
throw new Test262Error('#1: 0X1 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (0X10 !== 16) {
|
||||
$ERROR('#2: 0X10 === 16');
|
||||
throw new Test262Error('#2: 0X10 === 16');
|
||||
}
|
||||
|
||||
//CHECK3
|
||||
if (0X100 !== 256) {
|
||||
$ERROR('3: 0X100 === 256');
|
||||
throw new Test262Error('3: 0X100 === 256');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (0X1000 !== 4096) {
|
||||
$ERROR('#4: 0X1000 === 4096');
|
||||
throw new Test262Error('#4: 0X1000 === 4096');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (0X10000 !== 65536) {
|
||||
$ERROR('#5: 0X10000 === 65536');
|
||||
throw new Test262Error('#5: 0X10000 === 65536');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (0X100000 !== 1048576) {
|
||||
$ERROR('#6: 0X100000 === 1048576');
|
||||
throw new Test262Error('#6: 0X100000 === 1048576');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (0X1000000 !== 16777216) {
|
||||
$ERROR('#7: 0X1000000 === 16777216');
|
||||
throw new Test262Error('#7: 0X1000000 === 16777216');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (0X10000000 !== 268435456) {
|
||||
$ERROR('#8: 0X10000000 === 268435456');
|
||||
throw new Test262Error('#8: 0X10000000 === 268435456');
|
||||
}
|
||||
|
|
|
@ -9,45 +9,45 @@ description: "HexIntegerLiteral :: 0x0 Digits"
|
|||
|
||||
//CHECK#0
|
||||
if (0x00 !== 0) {
|
||||
$ERROR('#0: 0x00 === 0');
|
||||
throw new Test262Error('#0: 0x00 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (0x01 !== 1) {
|
||||
$ERROR('#1: 0x01 === 1');
|
||||
throw new Test262Error('#1: 0x01 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (0x010 !== 16) {
|
||||
$ERROR('#2: 0x010 === 16');
|
||||
throw new Test262Error('#2: 0x010 === 16');
|
||||
}
|
||||
|
||||
//CHECK3
|
||||
if (0x0100 !== 256) {
|
||||
$ERROR('3: 0x0100 === 256');
|
||||
throw new Test262Error('3: 0x0100 === 256');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (0x01000 !== 4096) {
|
||||
$ERROR('#4: 0x01000 === 4096');
|
||||
throw new Test262Error('#4: 0x01000 === 4096');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (0x010000 !== 65536) {
|
||||
$ERROR('#5: 0x010000 === 65536');
|
||||
throw new Test262Error('#5: 0x010000 === 65536');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (0x0100000 !== 1048576) {
|
||||
$ERROR('#6: 0x0100000 === 1048576');
|
||||
throw new Test262Error('#6: 0x0100000 === 1048576');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (0x01000000 !== 16777216) {
|
||||
$ERROR('#7: 0x01000000 === 16777216');
|
||||
throw new Test262Error('#7: 0x01000000 === 16777216');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (0x010000000 !== 268435456) {
|
||||
$ERROR('#8: 0x010000000 === 268435456');
|
||||
throw new Test262Error('#8: 0x010000000 === 268435456');
|
||||
}
|
||||
|
|
|
@ -9,45 +9,45 @@ description: "HexIntegerLiteral :: 0X0 Digits"
|
|||
|
||||
//CHECK#0
|
||||
if (0X00 !== 0) {
|
||||
$ERROR('#0: 0X00 === 0');
|
||||
throw new Test262Error('#0: 0X00 === 0');
|
||||
}
|
||||
|
||||
//CHECK#1
|
||||
if (0X01 !== 1) {
|
||||
$ERROR('#1: 0X01 === 1');
|
||||
throw new Test262Error('#1: 0X01 === 1');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (0X010 !== 16) {
|
||||
$ERROR('#2: 0X010 === 16');
|
||||
throw new Test262Error('#2: 0X010 === 16');
|
||||
}
|
||||
|
||||
//CHECK3
|
||||
if (0X0100 !== 256) {
|
||||
$ERROR('3: 0X0100 === 256');
|
||||
throw new Test262Error('3: 0X0100 === 256');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (0X01000 !== 4096) {
|
||||
$ERROR('#4: 0X01000 === 4096');
|
||||
throw new Test262Error('#4: 0X01000 === 4096');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (0X010000 !== 65536) {
|
||||
$ERROR('#5: 0X010000 === 65536');
|
||||
throw new Test262Error('#5: 0X010000 === 65536');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (0X0100000 !== 1048576) {
|
||||
$ERROR('#6: 0X0100000 === 1048576');
|
||||
throw new Test262Error('#6: 0X0100000 === 1048576');
|
||||
}
|
||||
|
||||
//CHECK#7
|
||||
if (0X01000000 !== 16777216) {
|
||||
$ERROR('#7: 0X01000000 === 16777216');
|
||||
throw new Test262Error('#7: 0X01000000 === 16777216');
|
||||
}
|
||||
|
||||
//CHECK#8
|
||||
if (0X010000000 !== 268435456) {
|
||||
$ERROR('#8: 0X010000000 === 268435456');
|
||||
throw new Test262Error('#8: 0X010000000 === 268435456');
|
||||
}
|
||||
|
|
|
@ -9,30 +9,30 @@ description: "HexIntegerLiteral :: 0x one of a, b, c, d, e, f"
|
|||
|
||||
//CHECK#a
|
||||
if (0xa !== 10) {
|
||||
$ERROR('#a: 0xa === 10');
|
||||
throw new Test262Error('#a: 0xa === 10');
|
||||
}
|
||||
|
||||
//CHECK#b
|
||||
if (0xb !== 11) {
|
||||
$ERROR('#b: 0xb === 11');
|
||||
throw new Test262Error('#b: 0xb === 11');
|
||||
}
|
||||
|
||||
//CHECK#c
|
||||
if (0xc !== 12) {
|
||||
$ERROR('#c: 0xc === 12');
|
||||
throw new Test262Error('#c: 0xc === 12');
|
||||
}
|
||||
|
||||
//CHECK#d
|
||||
if (0xd !== 13) {
|
||||
$ERROR('#d: 0xd === 13');
|
||||
throw new Test262Error('#d: 0xd === 13');
|
||||
}
|
||||
|
||||
//CHECK#e
|
||||
if (0xe !== 14) {
|
||||
$ERROR('#e: 0xe === 14');
|
||||
throw new Test262Error('#e: 0xe === 14');
|
||||
}
|
||||
|
||||
//CHECK#f
|
||||
if (0xf !== 15) {
|
||||
$ERROR('#f: 0xf === 15');
|
||||
throw new Test262Error('#f: 0xf === 15');
|
||||
}
|
||||
|
|
|
@ -9,30 +9,30 @@ description: "HexIntegerLiteral :: 0X one of a, b, c, d, e, f"
|
|||
|
||||
//CHECK#a
|
||||
if (0Xa !== 10) {
|
||||
$ERROR('#a: 0Xa === 10');
|
||||
throw new Test262Error('#a: 0Xa === 10');
|
||||
}
|
||||
|
||||
//CHECK#b
|
||||
if (0Xb !== 11) {
|
||||
$ERROR('#b: 0Xb === 11');
|
||||
throw new Test262Error('#b: 0Xb === 11');
|
||||
}
|
||||
|
||||
//CHECK#c
|
||||
if (0Xc !== 12) {
|
||||
$ERROR('#c: 0Xc === 12');
|
||||
throw new Test262Error('#c: 0Xc === 12');
|
||||
}
|
||||
|
||||
//CHECK#d
|
||||
if (0Xd !== 13) {
|
||||
$ERROR('#d: 0Xd === 13');
|
||||
throw new Test262Error('#d: 0Xd === 13');
|
||||
}
|
||||
|
||||
//CHECK#e
|
||||
if (0Xe !== 14) {
|
||||
$ERROR('#e: 0Xe === 14');
|
||||
throw new Test262Error('#e: 0Xe === 14');
|
||||
}
|
||||
|
||||
//CHECK#f
|
||||
if (0Xf !== 15) {
|
||||
$ERROR('#f: 0Xf === 15');
|
||||
throw new Test262Error('#f: 0Xf === 15');
|
||||
}
|
||||
|
|
|
@ -11,25 +11,25 @@ description: Without eval
|
|||
|
||||
//CHECK#1
|
||||
if (/1/.source !== "1") {
|
||||
$ERROR('#1: /1/');
|
||||
throw new Test262Error('#1: /1/');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (/a/.source !== "a") {
|
||||
$ERROR('#2: /a/');
|
||||
throw new Test262Error('#2: /a/');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (/;/.source !== ";") {
|
||||
$ERROR('#3: /;/');
|
||||
throw new Test262Error('#3: /;/');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (/ /.source !== " ") {
|
||||
$ERROR('#4: / /');
|
||||
throw new Test262Error('#4: / /');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (/\u0041/.source !== "\\u0041") {
|
||||
$ERROR('#5: /\\u0041/');
|
||||
throw new Test262Error('#5: /\\u0041/');
|
||||
}
|
||||
|
|
|
@ -24,10 +24,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/\u000A/").source;
|
||||
$ERROR('#1.1: RegularExpressionFirstChar :: Line Feed is incorrect. Actual: ' + (eval("/\u000A/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionFirstChar :: Line Feed is incorrect. Actual: ' + (eval("/\u000A/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionFirstChar :: Line Feed is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionFirstChar :: Line Feed is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,10 +24,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/\u000D/").source;
|
||||
$ERROR('#1.1: RegularExpressionFirstChar :: Carriage Return is incorrect. Actual: ' + (eval("/\u000D/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionFirstChar :: Carriage Return is incorrect. Actual: ' + (eval("/\u000D/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionFirstChar :: Carriage Return is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionFirstChar :: Carriage Return is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,10 +25,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/\u2028/").source;
|
||||
$ERROR('#1.1: RegularExpressionFirstChar :: Line separator is incorrect. Actual: ' + (eval("/\u2028/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionFirstChar :: Line separator is incorrect. Actual: ' + (eval("/\u2028/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionFirstChar :: Line separator is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionFirstChar :: Line separator is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,10 +24,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/\u2029/").source;
|
||||
$ERROR('#1.1: RegularExpressionFirstChar :: Paragraph separator is incorrect. Actual: ' + (eval("/\u2029/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionFirstChar :: Paragraph separator is incorrect. Actual: ' + (eval("/\u2029/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionFirstChar :: Paragraph separator is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionFirstChar :: Paragraph separator is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,10 +11,10 @@ description: Check similar to (/\;/.source === "\\;")
|
|||
|
||||
//CHECK#1
|
||||
if (/\;/.source !== "\\;") {
|
||||
$ERROR('#1: /\\;/');
|
||||
throw new Test262Error('#1: /\\;/');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (/\ /.source !== "\\ ") {
|
||||
$ERROR('#2: /\\ /');
|
||||
throw new Test262Error('#2: /\\ /');
|
||||
}
|
||||
|
|
|
@ -18,10 +18,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/\\\u000A/").source;
|
||||
$ERROR('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (eval("/\\\u000A/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (eval("/\\\u000A/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,10 +17,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/\\\u000D/").source;
|
||||
$ERROR('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (eval("/\\\u000D/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (eval("/\\\u000D/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,10 +24,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/\\\u2028/").source;
|
||||
$ERROR('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (eval("/\\\u2028/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (eval("/\\\u2028/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,10 +24,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/\\\u2029/").source;
|
||||
$ERROR('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (eval("/\\\u2029/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (eval("/\\\u2029/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,25 +11,25 @@ description: Without eval
|
|||
|
||||
//CHECK#1
|
||||
if (/1a/.source !== "1a") {
|
||||
$ERROR('#1: /1a/');
|
||||
throw new Test262Error('#1: /1a/');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (/aa/.source !== "aa") {
|
||||
$ERROR('#2: /aa/');
|
||||
throw new Test262Error('#2: /aa/');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (/,;/.source !== ",;") {
|
||||
$ERROR('#3: /,;/');
|
||||
throw new Test262Error('#3: /,;/');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (/ /.source !== " ") {
|
||||
$ERROR('#4: / /');
|
||||
throw new Test262Error('#4: / /');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (/a\u0041/.source !== "a\\u0041") {
|
||||
$ERROR('#5: /a\\u0041/');
|
||||
throw new Test262Error('#5: /a\\u0041/');
|
||||
}
|
||||
|
|
|
@ -27,10 +27,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/a\u000A/").source;
|
||||
$ERROR('#1.1: RegularExpressionChar :: Line Feedis incorrect. Actual: ' + (eval("/a\u000A/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionChar :: Line Feedis incorrect. Actual: ' + (eval("/a\u000A/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionChar :: Line Feed is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionChar :: Line Feed is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,10 +27,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/a\u000D/").source;
|
||||
$ERROR('#1.1: RegularExpressionChar :: Carriage Retur is incorrect. Actual: ' + (eval("/a\u000D/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionChar :: Carriage Retur is incorrect. Actual: ' + (eval("/a\u000D/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionChar :: Carriage Retur is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionChar :: Carriage Retur is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,10 +25,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/a\u2028/").source;
|
||||
$ERROR('#1.1: RegularExpressionChar :: Line separator is incorrect. Actual: ' + (eval("/a\u2028/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionChar :: Line separator is incorrect. Actual: ' + (eval("/a\u2028/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionChar :: Line separator is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionChar :: Line separator is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,10 +24,10 @@ description: >
|
|||
|
||||
try {
|
||||
eval("/s\u2029/").source;
|
||||
$ERROR('#1.1: RegularExpressionChar :: Paragraph separator is incorrect. Actual: ' + (eval("/s\u2029/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionChar :: Paragraph separator is incorrect. Actual: ' + (eval("/s\u2029/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionChar :: Paragraph separator is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionChar :: Paragraph separator is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,10 +11,10 @@ description: Check similar to (/,\;/.source === ",\\;")
|
|||
|
||||
//CHECK#1
|
||||
if (/,\;/.source !== ",\\;") {
|
||||
$ERROR('#1: /,\\;/');
|
||||
throw new Test262Error('#1: /,\\;/');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (/ \ /.source !== " \\ ") {
|
||||
$ERROR('#2: / \\ /');
|
||||
throw new Test262Error('#2: / \\ /');
|
||||
}
|
||||
|
|
|
@ -23,10 +23,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/a\\\u000A/").source;
|
||||
$ERROR('#1.1: RegularExpressionChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (eval("/a\\\u000A/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (eval("/a\\\u000A/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,10 +23,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/a\\\u000D/").source;
|
||||
$ERROR('#1.1: RegularExpressionChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (eval("/a\\\u000D/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (eval("/a\\\u000D/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,10 +23,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/a\\\u2028/").source;
|
||||
$ERROR('#1.1: RegularExpressionChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (eval("/a\\\u2028/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (eval("/a\\\u2028/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,10 +23,10 @@ description: >
|
|||
//CHECK#1
|
||||
try {
|
||||
eval("/a\\\u2029/").source;
|
||||
$ERROR('#1.1: RegularExpressionChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (eval("/a\\\u2029/").source));
|
||||
throw new Test262Error('#1.1: RegularExpressionChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (eval("/a\\\u2029/").source));
|
||||
}
|
||||
catch (e) {
|
||||
if ((e instanceof SyntaxError) !== true) {
|
||||
$ERROR('#1.2: RegularExpressionChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (e));
|
||||
throw new Test262Error('#1.2: RegularExpressionChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (e));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,15 +10,15 @@ description: "IdentifierPart :: g"
|
|||
//CHECK#1
|
||||
var regexp = /(?:)/g;
|
||||
if (regexp.global !== true) {
|
||||
$ERROR('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global));
|
||||
throw new Test262Error('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global));
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (regexp.ignoreCase !== false) {
|
||||
$ERROR('#2: var regexp = /(?:)/g; regexp.ignoreCase === false. Actual: ' + (regexp.ignoreCase));
|
||||
throw new Test262Error('#2: var regexp = /(?:)/g; regexp.ignoreCase === false. Actual: ' + (regexp.ignoreCase));
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (regexp.multiline !== false) {
|
||||
$ERROR('#3: var regexp = /(?:)/g; regexp.multiline === false. Actual: ' + (regexp.multiline));
|
||||
throw new Test262Error('#3: var regexp = /(?:)/g; regexp.multiline === false. Actual: ' + (regexp.multiline));
|
||||
}
|
||||
|
|
|
@ -10,15 +10,15 @@ description: "IdentifierPart :: i"
|
|||
//CHECK#1
|
||||
var regexp = /(?:)/i;
|
||||
if (regexp.global !== false) {
|
||||
$ERROR('#1: var regexp = /(?:)/g; regexp.global === false. Actual: ' + (regexp.global));
|
||||
throw new Test262Error('#1: var regexp = /(?:)/g; regexp.global === false. Actual: ' + (regexp.global));
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (regexp.ignoreCase !== true) {
|
||||
$ERROR('#2: var regexp = /(?:)/g; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase));
|
||||
throw new Test262Error('#2: var regexp = /(?:)/g; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase));
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (regexp.multiline !== false) {
|
||||
$ERROR('#3: var regexp = /(?:)/g; regexp.multiline === false. Actual: ' + (regexp.multiline));
|
||||
throw new Test262Error('#3: var regexp = /(?:)/g; regexp.multiline === false. Actual: ' + (regexp.multiline));
|
||||
}
|
||||
|
|
|
@ -10,15 +10,15 @@ description: "IdentifierPart :: m"
|
|||
//CHECK#1
|
||||
var regexp = /(?:)/m;
|
||||
if (regexp.global !== false) {
|
||||
$ERROR('#1: var regexp = /(?:)/g; regexp.global === false. Actual: ' + (regexp.global));
|
||||
throw new Test262Error('#1: var regexp = /(?:)/g; regexp.global === false. Actual: ' + (regexp.global));
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (regexp.ignoreCase !== false) {
|
||||
$ERROR('#2: var regexp = /(?:)/g; regexp.ignoreCase === false. Actual: ' + (regexp.ignoreCase));
|
||||
throw new Test262Error('#2: var regexp = /(?:)/g; regexp.ignoreCase === false. Actual: ' + (regexp.ignoreCase));
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (regexp.multiline !== true) {
|
||||
$ERROR('#3: var regexp = /(?:)/g; regexp.multiline === true. Actual: ' + (regexp.multiline));
|
||||
throw new Test262Error('#3: var regexp = /(?:)/g; regexp.multiline === true. Actual: ' + (regexp.multiline));
|
||||
}
|
||||
|
|
|
@ -10,15 +10,15 @@ description: "IdentifierPart :: gi"
|
|||
//CHECK#1
|
||||
var regexp = /(?:)/gi;
|
||||
if (regexp.global !== true) {
|
||||
$ERROR('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global));
|
||||
throw new Test262Error('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global));
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (regexp.ignoreCase !== true) {
|
||||
$ERROR('#2: var regexp = /(?:)/g; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase));
|
||||
throw new Test262Error('#2: var regexp = /(?:)/g; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase));
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (regexp.multiline !== false) {
|
||||
$ERROR('#3: var regexp = /(?:)/g; regexp.multiline === false. Actual: ' + (regexp.multiline));
|
||||
throw new Test262Error('#3: var regexp = /(?:)/g; regexp.multiline === false. Actual: ' + (regexp.multiline));
|
||||
}
|
||||
|
|
|
@ -10,15 +10,15 @@ description: "IdentifierPart :: mg"
|
|||
//CHECK#1
|
||||
var regexp = /(?:)/mg;
|
||||
if (regexp.global !== true) {
|
||||
$ERROR('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global));
|
||||
throw new Test262Error('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global));
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (regexp.ignoreCase !== false) {
|
||||
$ERROR('#2: var regexp = /(?:)/g; regexp.ignoreCase === false. Actual: ' + (regexp.ignoreCase));
|
||||
throw new Test262Error('#2: var regexp = /(?:)/g; regexp.ignoreCase === false. Actual: ' + (regexp.ignoreCase));
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (regexp.multiline !== true) {
|
||||
$ERROR('#3: var regexp = /(?:)/g; regexp.multiline === true. Actual: ' + (regexp.multiline));
|
||||
throw new Test262Error('#3: var regexp = /(?:)/g; regexp.multiline === true. Actual: ' + (regexp.multiline));
|
||||
}
|
||||
|
|
|
@ -10,15 +10,15 @@ description: "IdentifierPart :: mig"
|
|||
//CHECK#1
|
||||
var regexp = /(?:)/mig;
|
||||
if (regexp.global !== true) {
|
||||
$ERROR('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global));
|
||||
throw new Test262Error('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global));
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (regexp.ignoreCase !== true) {
|
||||
$ERROR('#2: var regexp = /(?:)/g; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase));
|
||||
throw new Test262Error('#2: var regexp = /(?:)/g; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase));
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (regexp.multiline !== true) {
|
||||
$ERROR('#3: var regexp = /(?:)/g; regexp.multiline === true. Actual: ' + (regexp.multiline));
|
||||
throw new Test262Error('#3: var regexp = /(?:)/g; regexp.multiline === true. Actual: ' + (regexp.multiline));
|
||||
}
|
||||
|
|
|
@ -11,5 +11,5 @@ description: "Check ((/(?:)/ instanceof RegExp) === true)"
|
|||
|
||||
//CHECK#1
|
||||
if ((/(?:)/ instanceof RegExp) !== true) {
|
||||
$ERROR('#1: (/(?:)/ instanceof RegExp) === true. Actual: ' + ((/(?:)/ instanceof RegExp)));
|
||||
throw new Test262Error('#1: (/(?:)/ instanceof RegExp) === true. Actual: ' + ((/(?:)/ instanceof RegExp)));
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@ var unicode = ["\u0041", "\u0042", "\u0043", "\u0044", "\u0045", "\u0046", "\u00
|
|||
var character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
|
||||
for (var index = 0; index <= 25; index++) {
|
||||
if (unicode[index] !== character[index]) {
|
||||
$ERROR('#' + character[index] + ' ');
|
||||
throw new Test262Error('#' + character[index] + ' ');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@ var hex = ["\u0061", "\u0062", "\u0063", "\u0064", "\u0065", "\u0066", "\u0067",
|
|||
var character = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
|
||||
for (var index = 0; index <= 25; index++) {
|
||||
if (hex[index] !== character[index]) {
|
||||
$ERROR('#' + character[index] + ' ');
|
||||
throw new Test262Error('#' + character[index] + ' ');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@ var unicode = ["\u0410", "\u0411", "\u0412", "\u0413", "\u0414", "\u0415", "\u04
|
|||
var character = ["А", "Б", "В", "Г", "Д", "Е", "Ж", "З", "И", "Й", "К", "Л", "М", "Н", "О", "П", "Р", "С", "Т", "У", "Ф", "Х", "Ц", "Ч", "Ш", "Щ", "Ъ", "Ы", "Ь", "Э", "Ю", "Я", "Ё"];
|
||||
for (var index = 0; index <= 32; index++) {
|
||||
if (unicode[index] !== character[index]) {
|
||||
$ERROR('#' + character[index] + ' ');
|
||||
throw new Test262Error('#' + character[index] + ' ');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@ var unicode = ["\u0430", "\u0431", "\u0432", "\u0433", "\u0434", "\u0435", "\u04
|
|||
var character = ["а", "б", "в", "г", "д", "е", "ж", "з", "и", "й", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "ъ", "ы", "ь", "э", "ю", "я", "ё"];
|
||||
for (var index = 0; index <= 32; index++) {
|
||||
if (unicode[index] !== character[index]) {
|
||||
$ERROR('#' + character[index] + ' ');
|
||||
throw new Test262Error('#' + character[index] + ' ');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@ var unicode = ["\u0030", "\u0031", "\u0032", "\u0033", "\u0034", "\u0035", "\u00
|
|||
var character = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
|
||||
for (var index = 0; index <= 9; index++) {
|
||||
if (unicode[index] !== character[index]) {
|
||||
$ERROR('#' + character[index] + ' ');
|
||||
throw new Test262Error('#' + character[index] + ' ');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,30 +9,30 @@ description: "SingleEscapeSequence :: one of b f n r t v"
|
|||
|
||||
//CHECK#1
|
||||
if (String.fromCharCode(0x0008) !== "\b") {
|
||||
$ERROR('#1: String.fromCharCode(0x0008) === "\\b"');
|
||||
throw new Test262Error('#1: String.fromCharCode(0x0008) === "\\b"');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (String.fromCharCode(0x0009) !== "\t") {
|
||||
$ERROR('#2: String.fromCharCode(0x0009) === "\\t"');
|
||||
throw new Test262Error('#2: String.fromCharCode(0x0009) === "\\t"');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (String.fromCharCode(0x000A) !== "\n") {
|
||||
$ERROR('#3: String.fromCharCode(0x000A) === "\\n"');
|
||||
throw new Test262Error('#3: String.fromCharCode(0x000A) === "\\n"');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if (String.fromCharCode(0x000B) !== "\v") {
|
||||
$ERROR('#4: String.fromCharCode(0x000B) === "\\v"');
|
||||
throw new Test262Error('#4: String.fromCharCode(0x000B) === "\\v"');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if (String.fromCharCode(0x000C) !== "\f") {
|
||||
$ERROR('#5: String.fromCharCode(0x000C) === "\\f"');
|
||||
throw new Test262Error('#5: String.fromCharCode(0x000C) === "\\f"');
|
||||
}
|
||||
|
||||
//CHECK#6
|
||||
if (String.fromCharCode(0x000D) !== "\r") {
|
||||
$ERROR('#6: String.fromCharCode(0x000D) === "\\r"');
|
||||
throw new Test262Error('#6: String.fromCharCode(0x000D) === "\\r"');
|
||||
}
|
||||
|
|
|
@ -9,25 +9,25 @@ description: "SingleEscapeSequence :: one of ' \" \\"
|
|||
|
||||
//CHECK#1
|
||||
if (String.fromCharCode(0x0027) !== "\'") {
|
||||
$ERROR('#1: String.fromCharCode(0x0027) === "\\\'"');
|
||||
throw new Test262Error('#1: String.fromCharCode(0x0027) === "\\\'"');
|
||||
}
|
||||
|
||||
//CHECK#2
|
||||
if (String.fromCharCode(0x0022) !== '\"') {
|
||||
$ERROR('#2: String.fromCharCode(0x0027) === \'\\\"\'');
|
||||
throw new Test262Error('#2: String.fromCharCode(0x0027) === \'\\\"\'');
|
||||
}
|
||||
|
||||
//CHECK#3
|
||||
if (String.fromCharCode(0x005C) !== "\\") {
|
||||
$ERROR('#3: String.fromCharCode(0x005C) === "\\\"');
|
||||
throw new Test262Error('#3: String.fromCharCode(0x005C) === "\\\"');
|
||||
}
|
||||
|
||||
//CHECK#4
|
||||
if ("\'" !== "'") {
|
||||
$ERROR('#4: "\'" === "\\\'"');
|
||||
throw new Test262Error('#4: "\'" === "\\\'"');
|
||||
}
|
||||
|
||||
//CHECK#5
|
||||
if ('\"' !== '"') {
|
||||
$ERROR('#5: \'\"\' === \'\\\"\'');
|
||||
throw new Test262Error('#5: \'\"\' === \'\\\"\'');
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@ var CharacterCode = [0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0
|
|||
var NonEscapeCharacter = ["\A", "\B", "\C", "\D", "\E", "\F", "\G", "\H", "\I", "\J", "\K", "\L", "\M", "\N", "\O", "\P", "\Q", "\R", "\S", "\T", "\U", "\V", "\W", "\X", "\Y", "\Z"];
|
||||
for (var index = 0; index <= 25; index++) {
|
||||
if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) {
|
||||
$ERROR('#' + NonEscapeCharacter[index] + ' ');
|
||||
throw new Test262Error('#' + NonEscapeCharacter[index] + ' ');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,105 +9,105 @@ description: "NonEscapeSequence :: ENGLISH CAPITAL ALPHABET"
|
|||
|
||||
//CHECK#A-Z
|
||||
if ("A" !== "\A") {
|
||||
$ERROR('#A');
|
||||
throw new Test262Error('#A');
|
||||
}
|
||||
|
||||
if ("B" !== "\B") {
|
||||
$ERROR('#B');
|
||||
throw new Test262Error('#B');
|
||||
}
|
||||
|
||||
if ("C" !== "\C") {
|
||||
$ERROR('#C');
|
||||
throw new Test262Error('#C');
|
||||
}
|
||||
|
||||
if ("D" !== "\D") {
|
||||
$ERROR('#D');
|
||||
throw new Test262Error('#D');
|
||||
}
|
||||
|
||||
if ("E" !== "\E") {
|
||||
$ERROR('#E');
|
||||
throw new Test262Error('#E');
|
||||
}
|
||||
|
||||
if ("F" !== "\F") {
|
||||
$ERROR('#F');
|
||||
throw new Test262Error('#F');
|
||||
}
|
||||
|
||||
if ("G" !== "\G") {
|
||||
$ERROR('#G');
|
||||
throw new Test262Error('#G');
|
||||
}
|
||||
|
||||
if ("H" !== "\H") {
|
||||
$ERROR('#H');
|
||||
throw new Test262Error('#H');
|
||||
}
|
||||
|
||||
if ("I" !== "\I") {
|
||||
$ERROR('#I');
|
||||
throw new Test262Error('#I');
|
||||
}
|
||||
|
||||
if ("J" !== "\J") {
|
||||
$ERROR('#J');
|
||||
throw new Test262Error('#J');
|
||||
}
|
||||
|
||||
if ("K" !== "\K") {
|
||||
$ERROR('#K');
|
||||
throw new Test262Error('#K');
|
||||
}
|
||||
|
||||
if ("L" !== "\L") {
|
||||
$ERROR('#L');
|
||||
throw new Test262Error('#L');
|
||||
}
|
||||
|
||||
if ("M" !== "\M") {
|
||||
$ERROR('#M');
|
||||
throw new Test262Error('#M');
|
||||
}
|
||||
|
||||
if ("N" !== "\N") {
|
||||
$ERROR('#N');
|
||||
throw new Test262Error('#N');
|
||||
}
|
||||
|
||||
if ("O" !== "\O") {
|
||||
$ERROR('#O');
|
||||
throw new Test262Error('#O');
|
||||
}
|
||||
|
||||
if ("P" !== "\P") {
|
||||
$ERROR('#P');
|
||||
throw new Test262Error('#P');
|
||||
}
|
||||
|
||||
if ("Q" !== "\Q") {
|
||||
$ERROR('#Q');
|
||||
throw new Test262Error('#Q');
|
||||
}
|
||||
|
||||
if ("R" !== "\R") {
|
||||
$ERROR('#R');
|
||||
throw new Test262Error('#R');
|
||||
}
|
||||
|
||||
if ("S" !== "\S") {
|
||||
$ERROR('#S');
|
||||
throw new Test262Error('#S');
|
||||
}
|
||||
|
||||
if ("T" !== "\T") {
|
||||
$ERROR('#T');
|
||||
throw new Test262Error('#T');
|
||||
}
|
||||
|
||||
if ("U" !== "\U") {
|
||||
$ERROR('#U');
|
||||
throw new Test262Error('#U');
|
||||
}
|
||||
|
||||
if ("V" !== "\V") {
|
||||
$ERROR('#V');
|
||||
throw new Test262Error('#V');
|
||||
}
|
||||
|
||||
if ("W" !== "\W") {
|
||||
$ERROR('#W');
|
||||
throw new Test262Error('#W');
|
||||
}
|
||||
|
||||
if ("X" !== "\X") {
|
||||
$ERROR('#X');
|
||||
throw new Test262Error('#X');
|
||||
}
|
||||
|
||||
if ("Y" !== "\Y") {
|
||||
$ERROR('#Y');
|
||||
throw new Test262Error('#Y');
|
||||
}
|
||||
|
||||
if ("Z" !== "\Z") {
|
||||
$ERROR('#Z');
|
||||
throw new Test262Error('#Z');
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@ var CharacterCode = [0x0061, 0x0063, 0x0064, 0x0065, 0x0067, 0x0068, 0x0069, 0x0
|
|||
var NonEscapeCharacter = ["\a", "\c", "\d", "\e", "\g", "\h", "\i", "\j", "\k", "\l", "\m", "\o", "\p", "\q", "\s", "\w", "\y", "\z"];
|
||||
for (var index = 0; index <= 17; index++) {
|
||||
if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) {
|
||||
$ERROR('#' + NonEscapeCharacter[index] + ' ');
|
||||
throw new Test262Error('#' + NonEscapeCharacter[index] + ' ');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,74 +10,74 @@ description: "NonEscapeSequence :: ENGLISH SMALL ALPHABET"
|
|||
//CHECK#a-z without b, f, n, r, t, v, x, u
|
||||
|
||||
if ("a" !== "\a") {
|
||||
$ERROR('#a');
|
||||
throw new Test262Error('#a');
|
||||
}
|
||||
|
||||
if ("c" !== "\c") {
|
||||
$ERROR('#c');
|
||||
throw new Test262Error('#c');
|
||||
}
|
||||
|
||||
if ("d" !== "\d") {
|
||||
$ERROR('#d');
|
||||
throw new Test262Error('#d');
|
||||
}
|
||||
|
||||
if ("e" !== "\e") {
|
||||
$ERROR('#e');
|
||||
throw new Test262Error('#e');
|
||||
}
|
||||
|
||||
if ("g" !== "\g") {
|
||||
$ERROR('#g');
|
||||
throw new Test262Error('#g');
|
||||
}
|
||||
|
||||
if ("h" !== "\h") {
|
||||
$ERROR('#h');
|
||||
throw new Test262Error('#h');
|
||||
}
|
||||
|
||||
if ("i" !== "\i") {
|
||||
$ERROR('#i');
|
||||
throw new Test262Error('#i');
|
||||
}
|
||||
|
||||
if ("j" !== "\j") {
|
||||
$ERROR('#j');
|
||||
throw new Test262Error('#j');
|
||||
}
|
||||
|
||||
if ("k" !== "\k") {
|
||||
$ERROR('#k');
|
||||
throw new Test262Error('#k');
|
||||
}
|
||||
|
||||
if ("l" !== "\l") {
|
||||
$ERROR('#l');
|
||||
throw new Test262Error('#l');
|
||||
}
|
||||
|
||||
if ("m" !== "\m") {
|
||||
$ERROR('#m');
|
||||
throw new Test262Error('#m');
|
||||
}
|
||||
|
||||
|
||||
if ("o" !== "\o") {
|
||||
$ERROR('#o');
|
||||
throw new Test262Error('#o');
|
||||
}
|
||||
|
||||
if ("p" !== "\p") {
|
||||
$ERROR('#p');
|
||||
throw new Test262Error('#p');
|
||||
}
|
||||
|
||||
if ("q" !== "\q") {
|
||||
$ERROR('#q');
|
||||
throw new Test262Error('#q');
|
||||
}
|
||||
|
||||
if ("s" !== "\s") {
|
||||
$ERROR('#s');
|
||||
throw new Test262Error('#s');
|
||||
}
|
||||
|
||||
if ("w" !== "\w") {
|
||||
$ERROR('#w');
|
||||
throw new Test262Error('#w');
|
||||
}
|
||||
|
||||
if ("y" !== "\y") {
|
||||
$ERROR('#y');
|
||||
throw new Test262Error('#y');
|
||||
}
|
||||
|
||||
if ("z" !== "\z") {
|
||||
$ERROR('#z');
|
||||
throw new Test262Error('#z');
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue