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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

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_T1.js
michael@0 8 * @description Check ENGLISH CAPITAL ALPHABET
michael@0 9 */
michael@0 10
michael@0 11 //CHECK#A-Z
michael@0 12 var \u0041 = 1;
michael@0 13 if (A !== 1) {
michael@0 14 $ERROR('#A');
michael@0 15 }
michael@0 16 var \u0042 = 1;
michael@0 17 if (B !== 1) {
michael@0 18 $ERROR('#B');
michael@0 19 }
michael@0 20 var \u0043 = 1;
michael@0 21 if (C !== 1) {
michael@0 22 $ERROR('#C');
michael@0 23 }
michael@0 24 var \u0044 = 1;
michael@0 25 if (D !== 1) {
michael@0 26 $ERROR('#D');
michael@0 27 }
michael@0 28 var \u0045 = 1;
michael@0 29 if (E !== 1) {
michael@0 30 $ERROR('#E');
michael@0 31 }
michael@0 32 var \u0046 = 1;
michael@0 33 if (F !== 1) {
michael@0 34 $ERROR('#F');
michael@0 35 }
michael@0 36 var \u0047 = 1;
michael@0 37 if (G !== 1) {
michael@0 38 $ERROR('#G');
michael@0 39 }
michael@0 40 var \u0048 = 1;
michael@0 41 if (H !== 1) {
michael@0 42 $ERROR('#H');
michael@0 43 }
michael@0 44 var \u0049 = 1;
michael@0 45 if (I !== 1) {
michael@0 46 $ERROR('#I');
michael@0 47 }
michael@0 48 var \u004A = 1;
michael@0 49 if (J !== 1) {
michael@0 50 $ERROR('#J');
michael@0 51 }
michael@0 52 var \u004B = 1;
michael@0 53 if (K !== 1) {
michael@0 54 $ERROR('#K');
michael@0 55 }
michael@0 56 var \u004C = 1;
michael@0 57 if (L !== 1) {
michael@0 58 $ERROR('#L');
michael@0 59 }
michael@0 60 var \u004D = 1;
michael@0 61 if (M !== 1) {
michael@0 62 $ERROR('#M');
michael@0 63 }
michael@0 64 var \u004E = 1;
michael@0 65 if (N !== 1) {
michael@0 66 $ERROR('#N');
michael@0 67 }
michael@0 68 var \u004F = 1;
michael@0 69 if (O !== 1) {
michael@0 70 $ERROR('#O');
michael@0 71 }
michael@0 72 var \u0050 = 1;
michael@0 73 if (P !== 1) {
michael@0 74 $ERROR('#P');
michael@0 75 }
michael@0 76 var \u0051 = 1;
michael@0 77 if (Q !== 1) {
michael@0 78 $ERROR('#Q');
michael@0 79 }
michael@0 80 var \u0052 = 1;
michael@0 81 if (R !== 1) {
michael@0 82 $ERROR('#R');
michael@0 83 }
michael@0 84 var \u0053 = 1;
michael@0 85 if (S !== 1) {
michael@0 86 $ERROR('#S');
michael@0 87 }
michael@0 88 var \u0054 = 1;
michael@0 89 if (T !== 1) {
michael@0 90 $ERROR('#T');
michael@0 91 }
michael@0 92 var \u0055 = 1;
michael@0 93 if (U !== 1) {
michael@0 94 $ERROR('#U');
michael@0 95 }
michael@0 96 var \u0056 = 1;
michael@0 97 if (V !== 1) {
michael@0 98 $ERROR('#V');
michael@0 99 }
michael@0 100 var \u0057 = 1;
michael@0 101 if (W !== 1) {
michael@0 102 $ERROR('#W');
michael@0 103 }
michael@0 104 var \u0058 = 1;
michael@0 105 if (X !== 1) {
michael@0 106 $ERROR('#X');
michael@0 107 }
michael@0 108 var \u0059 = 1;
michael@0 109 if (Y !== 1) {
michael@0 110 $ERROR('#Y');
michael@0 111 }
michael@0 112 var \u005A = 1;
michael@0 113 if (Z !== 1) {
michael@0 114 $ERROR('#Z');
michael@0 115 }
michael@0 116

mercurial