S7.8.3_A3.1_T2.js (980B)
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." 6 es5id: 7.8.3_A3.1_T2 7 description: "DecimalIntegerLiteral :: NoNZeroDigit DecimalDigigts" 8 ---*/ 9 10 //CHECK#1 11 if (11. !== 11) { 12 throw new Test262Error('#1: 11. === 11'); 13 } 14 15 //CHECK#2 16 if (22. !== 22) { 17 throw new Test262Error('#2: 22. === 22'); 18 } 19 20 //CHECK#3 21 if (33. !== 33) { 22 throw new Test262Error('#3: 33. === 33'); 23 } 24 25 //CHECK#4 26 if (44. !== 44) { 27 throw new Test262Error('#4: 44. === 44'); 28 } 29 30 //CHECK#5 31 if (55. !== 55) { 32 throw new Test262Error('#5: 55. === 55'); 33 } 34 35 //CHECK#6 36 if (66. !== 66) { 37 throw new Test262Error('#6: 66. === 66'); 38 } 39 40 //CHECK#7 41 if (77. !== 77) { 42 throw new Test262Error('#7: 77. === 77'); 43 } 44 45 //CHECK#8 46 if (88. !== 88) { 47 throw new Test262Error('#8: 88. === 88'); 48 } 49 50 //CHECK#9 51 if (99. !== 99) { 52 throw new Test262Error('#9: 99. === 99'); 53 } 54 55 reportCompare(0, 0);