js/src/tests/test262/ch07/7.6/S7.6_A4.1_T2.js

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 // Copyright 2009 the Sputnik authors. All rights reserved.
michael@0 2 // This code is governed by the BSD license found in the LICENSE file.
michael@0 3
michael@0 4 /**
michael@0 5 * Correct interpretation of ENGLISH ALPHABET
michael@0 6 *
michael@0 7 * @path ch07/7.6/S7.6_A4.1_T2.js
michael@0 8 * @description Check ENGLISH SMALL ALPHABET
michael@0 9 */
michael@0 10
michael@0 11 //CHECK#a-z
michael@0 12 var \u0061 = 1;
michael@0 13 if (a !== 1) {
michael@0 14 $ERROR('#a');
michael@0 15 }
michael@0 16 var \u0062 = 1;
michael@0 17 if (b !== 1) {
michael@0 18 $ERROR('#b');
michael@0 19 }
michael@0 20 var \u0063 = 1;
michael@0 21 if (c !== 1) {
michael@0 22 $ERROR('#c');
michael@0 23 }
michael@0 24 var \u0064 = 1;
michael@0 25 if (d !== 1) {
michael@0 26 $ERROR('#d');
michael@0 27 }
michael@0 28 var \u0065 = 1;
michael@0 29 if (e !== 1) {
michael@0 30 $ERROR('#e');
michael@0 31 }
michael@0 32 var \u0066 = 1;
michael@0 33 if (f !== 1) {
michael@0 34 $ERROR('#f');
michael@0 35 }
michael@0 36 var \u0067 = 1;
michael@0 37 if (g !== 1) {
michael@0 38 $ERROR('#g');
michael@0 39 }
michael@0 40 var \u0068 = 1;
michael@0 41 if (h !== 1) {
michael@0 42 $ERROR('#h');
michael@0 43 }
michael@0 44 var \u0069 = 1;
michael@0 45 if (i !== 1) {
michael@0 46 $ERROR('#i');
michael@0 47 }
michael@0 48 var \u006A = 1;
michael@0 49 if (j !== 1) {
michael@0 50 $ERROR('#j');
michael@0 51 }
michael@0 52 var \u006B = 1;
michael@0 53 if (k !== 1) {
michael@0 54 $ERROR('#k');
michael@0 55 }
michael@0 56 var \u006C = 1;
michael@0 57 if (l !== 1) {
michael@0 58 $ERROR('#l');
michael@0 59 }
michael@0 60 var \u006D = 1;
michael@0 61 if (m !== 1) {
michael@0 62 $ERROR('#m');
michael@0 63 }
michael@0 64 var \u006E = 1;
michael@0 65 if (n !== 1) {
michael@0 66 $ERROR('#n');
michael@0 67 }
michael@0 68 var \u006F = 1;
michael@0 69 if (o !== 1) {
michael@0 70 $ERROR('#o');
michael@0 71 }
michael@0 72 var \u0070 = 1;
michael@0 73 if (p !== 1) {
michael@0 74 $ERROR('#p');
michael@0 75 }
michael@0 76 var \u0071 = 1;
michael@0 77 if (q !== 1) {
michael@0 78 $ERROR('#q');
michael@0 79 }
michael@0 80 var \u0072 = 1;
michael@0 81 if (r !== 1) {
michael@0 82 $ERROR('#r');
michael@0 83 }
michael@0 84 var \u0073 = 1;
michael@0 85 if (s !== 1) {
michael@0 86 $ERROR('#s');
michael@0 87 }
michael@0 88 var \u0074 = 1;
michael@0 89 if (t !== 1) {
michael@0 90 $ERROR('#t');
michael@0 91 }
michael@0 92 var \u0075 = 1;
michael@0 93 if (u !== 1) {
michael@0 94 $ERROR('#u');
michael@0 95 }
michael@0 96 var \u0076 = 1;
michael@0 97 if (v !== 1) {
michael@0 98 $ERROR('#v');
michael@0 99 }
michael@0 100 var \u0077 = 1;
michael@0 101 if (w !== 1) {
michael@0 102 $ERROR('#w');
michael@0 103 }
michael@0 104 var \u0078 = 1;
michael@0 105 if (x !== 1) {
michael@0 106 $ERROR('#x');
michael@0 107 }
michael@0 108 var \u0079 = 1;
michael@0 109 if (y !== 1) {
michael@0 110 $ERROR('#y');
michael@0 111 }
michael@0 112 var \u007A = 1;
michael@0 113 if (z !== 1) {
michael@0 114 $ERROR('#z');
michael@0 115 }
michael@0 116
michael@0 117

mercurial