Debian Codegraph @

js/src/tests/test262/language/literals/string/S7.8.4_A4.2_T2.js

raw
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: "CharacterEscapeSequnce :: NonEscapeSequence"
6 es5id: 7.8.4_A4.2_T2
7 description: "NonEscapeSequence :: ENGLISH CAPITAL ALPHABET"
8 ---*/
9
10 //CHECK#A-Z
11 if ("A" !== "\A") {
12 throw new Test262Error('#A');
13 }
14
15 if ("B" !== "\B") {
16 throw new Test262Error('#B');
17 }
18
19 if ("C" !== "\C") {
20 throw new Test262Error('#C');
21 }
22
23 if ("D" !== "\D") {
24 throw new Test262Error('#D');
25 }
26
27 if ("E" !== "\E") {
28 throw new Test262Error('#E');
29 }
30
31 if ("F" !== "\F") {
32 throw new Test262Error('#F');
33 }
34
35 if ("G" !== "\G") {
36 throw new Test262Error('#G');
37 }
38
39 if ("H" !== "\H") {
40 throw new Test262Error('#H');
41 }
42
43 if ("I" !== "\I") {
44 throw new Test262Error('#I');
45 }
46
47 if ("J" !== "\J") {
48 throw new Test262Error('#J');
49 }
50
51 if ("K" !== "\K") {
52 throw new Test262Error('#K');
53 }
54
55 if ("L" !== "\L") {
56 throw new Test262Error('#L');
57 }
58
59 if ("M" !== "\M") {
60 throw new Test262Error('#M');
61 }
62
63 if ("N" !== "\N") {
64 throw new Test262Error('#N');
65 }
66
67 if ("O" !== "\O") {
68 throw new Test262Error('#O');
69 }
70
71 if ("P" !== "\P") {
72 throw new Test262Error('#P');
73 }
74
75 if ("Q" !== "\Q") {
76 throw new Test262Error('#Q');
77 }
78
79 if ("R" !== "\R") {
80 throw new Test262Error('#R');
81 }
82
83 if ("S" !== "\S") {
84 throw new Test262Error('#S');
85 }
86
87 if ("T" !== "\T") {
88 throw new Test262Error('#T');
89 }
90
91 if ("U" !== "\U") {
92 throw new Test262Error('#U');
93 }
94
95 if ("V" !== "\V") {
96 throw new Test262Error('#V');
97 }
98
99 if ("W" !== "\W") {
100 throw new Test262Error('#W');
101 }
102
103 if ("X" !== "\X") {
104 throw new Test262Error('#X');
105 }
106
107 if ("Y" !== "\Y") {
108 throw new Test262Error('#Y');
109 }
110
111 if ("Z" !== "\Z") {
112 throw new Test262Error('#Z');
113 }
114
115 reportCompare(0, 0);