| 1 |
// Copyright 2009 the Sputnik authors. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
|
| 4 |
/*--- |
| 5 |
info: "DecimalLiteral :: DecimalIntegerLiteral ExponentPart" |
| 6 |
es5id: 7.8.3_A1.2_T1 |
| 7 |
description: "ExponentPart :: e DecimalDigits" |
| 8 |
---*/ |
| 9 |
|
| 10 |
//CHECK#0 |
| 11 |
if (0e1 !== 0) { |
| 12 |
$ERROR('#0: 0e1 === 0'); |
| 13 |
} |
| 14 |
|
| 15 |
//CHECK#1 |
| 16 |
if (1e1 !== 10) { |
| 17 |
$ERROR('#1: 1e1 === 10'); |
| 18 |
} |
| 19 |
|
| 20 |
//CHECK#2 |
| 21 |
if (2e1 !== 20) { |
| 22 |
$ERROR('#2: 2e1 === 20'); |
| 23 |
} |
| 24 |
|
| 25 |
//CHECK#3 |
| 26 |
if (3e1 !== 30) { |
| 27 |
$ERROR('#3: 3e1 === 30'); |
| 28 |
} |
| 29 |
|
| 30 |
//CHECK#4 |
| 31 |
if (4e1 !== 40) { |
| 32 |
$ERROR('#4: 4e1 === 40'); |
| 33 |
} |
| 34 |
|
| 35 |
//CHECK#5 |
| 36 |
if (5e1 !== 50) { |
| 37 |
$ERROR('#5: 5e1 === 50'); |
| 38 |
} |
| 39 |
|
| 40 |
//CHECK#6 |
| 41 |
if (6e1 !== 60) { |
| 42 |
$ERROR('#6: 6e1 === 60'); |
| 43 |
} |
| 44 |
|
| 45 |
//CHECK#7 |
| 46 |
if (7e1 !== 70) { |
| 47 |
$ERROR('#7: 7e1 === 70'); |
| 48 |
} |
| 49 |
|
| 50 |
//CHECK#8 |
| 51 |
if (8e1 !== 80) { |
| 52 |
$ERROR('#8: 8e1 === 80'); |
| 53 |
} |
| 54 |
|
| 55 |
//CHECK#9 |
| 56 |
if (9e1 !== 90) { |
| 57 |
$ERROR('#9: 9e1 === 90'); |
| 58 |
} |