grtest-multipass.gdl (724B)
1 #include "stddef.gdh" 2 3 table(glyph) 4 gSpace = codepoint(" "); 5 6 gA = codepoint("A"); 7 gB = codepoint("B"); 8 gC = codepoint("C"); 9 gF = codepoint("F"); 10 gI = codepoint("I"); 11 gL = codepoint("L"); 12 gP = codepoint("P"); 13 gS = codepoint("S"); 14 ga = codepoint("a"); 15 gs = codepoint("s"); 16 g1 = codepoint("1"); 17 g2 = codepoint("2"); 18 g3 = codepoint("3"); 19 g4 = codepoint("4"); 20 21 clsFail = codepoint("FAIL"); 22 clsPass = codepoint("PaSs"); 23 cls1234 = codepoint("1234"); 24 cls5678 = codepoint("5678"); 25 endtable 26 27 table(substitution) 28 29 pass(1) 30 clsFail > cls1234; 31 endpass; 32 33 pass(2) 34 cls1234 > @1 @1; 35 endpass; 36 37 pass(3) 38 cls1234 cls1234 > @1 cls5678; 39 endpass; 40 41 pass(4) 42 cls1234 cls5678 > _ clsFail; 43 endpass; 44 45 pass(5) 46 gF gA gI gL > gP ga gS gs; 47 endpass; 48 49 endtable