From 5a3f9a31850d6da72dff7211c9760cd4a8e1090b Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 13 Apr 2021 21:11:26 -0700 Subject: . --- html/504test-screen.mu.html | 164 ++++++++++++++++++++++---------------------- 1 file changed, 82 insertions(+), 82 deletions(-) (limited to 'html/504test-screen.mu.html') diff --git a/html/504test-screen.mu.html b/html/504test-screen.mu.html index 7ea9be77..d5935656 100644 --- a/html/504test-screen.mu.html +++ b/html/504test-screen.mu.html @@ -78,7 +78,7 @@ if ('onhashchange' in window) { 19 var done?/eax: boolean <- stream-empty? e-addr 20 compare done?, 0 21 break-if-!= - 22 var _g/eax: grapheme <- screen-grapheme-at-idx screen, idx + 22 var _g/eax: grapheme <- screen-grapheme-at-idx screen, idx 23 var g/ebx: grapheme <- copy _g 24 var expected-grapheme/eax: grapheme <- read-grapheme e-addr 25 # compare graphemes @@ -94,23 +94,23 @@ if ('onhashchange' in window) { 35 compare g, expected-grapheme 36 { 37 break-if-!= - 38 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ".", 3/fg/cyan, 0/bg + 38 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ".", 3/fg/cyan, 0/bg 39 break $check-screen-row-from:compare-graphemes 40 } 41 # otherwise print an error 42 count-test-failure - 43 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg - 44 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ": expected '", 3/fg/cyan, 0/bg + 43 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg + 44 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ": expected '", 3/fg/cyan, 0/bg 45 draw-grapheme-at-cursor 0/screen, expected-grapheme, 3/cyan, 0/bg - 46 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width - 47 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "' at (", 3/fg/cyan, 0/bg - 48 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, x, 3/fg/cyan, 0/bg - 49 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ", ", 3/fg/cyan, 0/bg - 50 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, y, 3/fg/cyan, 0/bg - 51 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ") but observed '", 3/fg/cyan, 0/bg + 46 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width + 47 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "' at (", 3/fg/cyan, 0/bg + 48 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, x, 3/fg/cyan, 0/bg + 49 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ", ", 3/fg/cyan, 0/bg + 50 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, y, 3/fg/cyan, 0/bg + 51 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ") but observed '", 3/fg/cyan, 0/bg 52 draw-grapheme-at-cursor 0/screen, g, 3/cyan, 0/bg - 53 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width - 54 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "'", 3/fg/cyan, 0/bg + 53 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width + 54 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "'", 3/fg/cyan, 0/bg 55 move-cursor-to-left-margin-of-next-line 0/screen 56 } 57 idx <- increment @@ -136,7 +136,7 @@ if ('onhashchange' in window) { 77 var done?/eax: boolean <- stream-empty? e-addr 78 compare done?, 0 79 break-if-!= - 80 var _g/eax: grapheme <- screen-grapheme-at-idx screen, idx + 80 var _g/eax: grapheme <- screen-grapheme-at-idx screen, idx 81 var g/ebx: grapheme <- copy _g 82 var _expected-grapheme/eax: grapheme <- read-grapheme e-addr 83 var expected-grapheme/edi: grapheme <- copy _expected-grapheme @@ -152,7 +152,7 @@ if ('onhashchange' in window) { 93 { 94 compare expected-grapheme, 0x20 95 break-if-!= - 96 var color/eax: int <- screen-color-at-idx screen, idx + 96 var color/eax: int <- screen-color-at-idx screen, idx 97 compare color, fg 98 break-if-!= $check-screen-row-in-color-from:compare-cells 99 } @@ -162,47 +162,47 @@ if ('onhashchange' in window) { 103 compare g, expected-grapheme 104 { 105 break-if-!= -106 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ".", 3/fg/cyan, 0/bg +106 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ".", 3/fg/cyan, 0/bg 107 break $check-screen-row-in-color-from:compare-graphemes 108 } 109 # otherwise print an error 110 count-test-failure -111 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg -112 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ": expected '", 3/fg/cyan, 0/bg +111 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg +112 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ": expected '", 3/fg/cyan, 0/bg 113 draw-grapheme-at-cursor 0/screen, expected-grapheme, 3/cyan, 0/bg -114 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width -115 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "' at (", 3/fg/cyan, 0/bg -116 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, x, 3/fg/cyan, 0/bg -117 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ", ", 3/fg/cyan, 0/bg -118 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, y, 3/fg/cyan, 0/bg -119 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ") but observed '", 3/fg/cyan, 0/bg +114 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width +115 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "' at (", 3/fg/cyan, 0/bg +116 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, x, 3/fg/cyan, 0/bg +117 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ", ", 3/fg/cyan, 0/bg +118 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, y, 3/fg/cyan, 0/bg +119 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ") but observed '", 3/fg/cyan, 0/bg 120 draw-grapheme-at-cursor 0/screen, g, 3/cyan, 0/bg -121 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width -122 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "'", 3/fg/cyan, 0/bg +121 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width +122 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "'", 3/fg/cyan, 0/bg 123 move-cursor-to-left-margin-of-next-line 0/screen 124 } 125 $check-screen-row-in-color-from:compare-colors: { -126 var color/eax: int <- screen-color-at-idx screen, idx +126 var color/eax: int <- screen-color-at-idx screen, idx 127 compare fg, color 128 { 129 break-if-!= -130 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ".", 3/fg/cyan, 0/bg +130 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ".", 3/fg/cyan, 0/bg 131 break $check-screen-row-in-color-from:compare-colors 132 } 133 # otherwise print an error 134 count-test-failure -135 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg -136 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ": expected '", 3/fg/cyan, 0/bg +135 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg +136 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ": expected '", 3/fg/cyan, 0/bg 137 draw-grapheme-at-cursor 0/screen, expected-grapheme, 3/cyan, 0/bg -138 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width -139 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "' at (", 3/fg/cyan, 0/bg -140 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, x, 3/fg/cyan, 0/bg -141 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ", ", 3/fg/cyan, 0/bg -142 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, y, 3/fg/cyan, 0/bg -143 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ") in color ", 3/fg/cyan, 0/bg -144 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, fg, 3/fg/cyan, 0/bg -145 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, " but observed color ", 3/fg/cyan, 0/bg -146 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, color, 3/fg/cyan, 0/bg +138 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width +139 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "' at (", 3/fg/cyan, 0/bg +140 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, x, 3/fg/cyan, 0/bg +141 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ", ", 3/fg/cyan, 0/bg +142 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, y, 3/fg/cyan, 0/bg +143 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ") in color ", 3/fg/cyan, 0/bg +144 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, fg, 3/fg/cyan, 0/bg +145 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, " but observed color ", 3/fg/cyan, 0/bg +146 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, color, 3/fg/cyan, 0/bg 147 move-cursor-to-left-margin-of-next-line 0/screen 148 } 149 } @@ -227,7 +227,7 @@ if ('onhashchange' in window) { 168 var done?/eax: boolean <- stream-empty? e-addr 169 compare done?, 0 170 break-if-!= -171 var _g/eax: grapheme <- screen-grapheme-at-idx screen, idx +171 var _g/eax: grapheme <- screen-grapheme-at-idx screen, idx 172 var g/ebx: grapheme <- copy _g 173 var _expected-grapheme/eax: grapheme <- read-grapheme e-addr 174 var expected-grapheme/edi: grapheme <- copy _expected-grapheme @@ -243,7 +243,7 @@ if ('onhashchange' in window) { 184 { 185 compare expected-grapheme, 0x20 186 break-if-!= -187 var background-color/eax: int <- screen-background-color-at-idx screen, idx +187 var background-color/eax: int <- screen-background-color-at-idx screen, idx 188 compare background-color, bg 189 break-if-!= $check-screen-row-in-background-color-from:compare-cells 190 } @@ -253,48 +253,48 @@ if ('onhashchange' in window) { 194 compare g, expected-grapheme 195 { 196 break-if-!= -197 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ".", 3/fg/cyan, 0/bg +197 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ".", 3/fg/cyan, 0/bg 198 break $check-screen-row-in-background-color-from:compare-graphemes 199 } 200 # otherwise print an error 201 count-test-failure -202 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg -203 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ": expected '", 3/fg/cyan, 0/bg +202 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg +203 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ": expected '", 3/fg/cyan, 0/bg 204 draw-grapheme-at-cursor 0/screen, expected-grapheme, 3/cyan, 0/bg -205 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width -206 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "' at (", 3/fg/cyan, 0/bg -207 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, x, 3/fg/cyan, 0/bg -208 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ", ", 3/fg/cyan, 0/bg -209 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, y, 3/fg/cyan, 0/bg -210 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ") but observed '", 3/fg/cyan, 0/bg +205 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width +206 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "' at (", 3/fg/cyan, 0/bg +207 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, x, 3/fg/cyan, 0/bg +208 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ", ", 3/fg/cyan, 0/bg +209 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, y, 3/fg/cyan, 0/bg +210 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ") but observed '", 3/fg/cyan, 0/bg 211 draw-grapheme-at-cursor 0/screen, g, 3/cyan, 0/bg -212 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width -213 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "'", 3/fg/cyan, 0/bg +212 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width +213 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "'", 3/fg/cyan, 0/bg 214 move-cursor-to-left-margin-of-next-line 0/screen 215 break $check-screen-row-in-background-color-from:compare-graphemes 216 } 217 $check-screen-row-in-background-color-from:compare-background-colors: { -218 var background-color/eax: int <- screen-background-color-at-idx screen, idx +218 var background-color/eax: int <- screen-background-color-at-idx screen, idx 219 compare bg, background-color 220 { 221 break-if-!= -222 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ".", 3/fg/cyan, 0/bg +222 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ".", 3/fg/cyan, 0/bg 223 break $check-screen-row-in-background-color-from:compare-background-colors 224 } 225 # otherwise print an error 226 count-test-failure -227 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg -228 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ": expected '", 3/fg/cyan, 0/bg +227 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg +228 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ": expected '", 3/fg/cyan, 0/bg 229 draw-grapheme-at-cursor 0/screen, expected-grapheme, 3/cyan, 0/bg -230 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width -231 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "' at (", 3/fg/cyan, 0/bg -232 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, x, 3/fg/cyan, 0/bg -233 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ", ", 3/fg/cyan, 0/bg -234 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, y, 3/fg/cyan, 0/bg -235 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ") in background-color ", 3/fg/cyan, 0/bg -236 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, bg, 3/fg/cyan, 0/bg -237 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, " but observed background-color ", 3/fg/cyan, 0/bg -238 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, background-color, 3/fg/cyan, 0/bg +230 move-cursor-rightward-and-downward 0/screen, 0/xmin, 0x80/xmax=screen-width +231 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "' at (", 3/fg/cyan, 0/bg +232 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, x, 3/fg/cyan, 0/bg +233 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ", ", 3/fg/cyan, 0/bg +234 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, y, 3/fg/cyan, 0/bg +235 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ") in background-color ", 3/fg/cyan, 0/bg +236 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, bg, 3/fg/cyan, 0/bg +237 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, " but observed background-color ", 3/fg/cyan, 0/bg +238 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, background-color, 3/fg/cyan, 0/bg 239 move-cursor-to-left-margin-of-next-line 0/screen 240 } 241 } @@ -325,7 +325,7 @@ if ('onhashchange' in window) { 266 var _expected-bit/eax: grapheme <- read-grapheme e-addr 267 var expected-bit/edi: grapheme <- copy _expected-bit 268 $check-background-color-in-screen-row-from:compare-cells: { -269 var background-color/eax: int <- screen-background-color-at-idx screen, idx +269 var background-color/eax: int <- screen-background-color-at-idx screen, idx 270 # if expected-bit is space, assert that background is NOT bg 271 compare expected-bit, 0x20 272 { @@ -333,13 +333,13 @@ if ('onhashchange' in window) { 274 compare background-color, bg 275 break-if-!= $check-background-color-in-screen-row-from:compare-cells 276 count-test-failure -277 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg -278 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ": expected (", 3/fg/cyan, 0/bg -279 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, x, 3/fg/cyan, 0/bg -280 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ", ", 3/fg/cyan, 0/bg -281 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, y, 3/fg/cyan, 0/bg -282 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ") to not be in background-color ", 3/fg/cyan, 0/bg -283 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, bg, 3/fg/cyan, 0/bg +277 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg +278 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ": expected (", 3/fg/cyan, 0/bg +279 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, x, 3/fg/cyan, 0/bg +280 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ", ", 3/fg/cyan, 0/bg +281 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, y, 3/fg/cyan, 0/bg +282 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ") to not be in background-color ", 3/fg/cyan, 0/bg +283 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, bg, 3/fg/cyan, 0/bg 284 move-cursor-to-left-margin-of-next-line 0/screen 285 break $check-background-color-in-screen-row-from:compare-cells 286 } @@ -347,15 +347,15 @@ if ('onhashchange' in window) { 288 compare background-color, bg 289 break-if-= $check-background-color-in-screen-row-from:compare-cells 290 count-test-failure -291 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg -292 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ": expected (", 3/fg/cyan, 0/bg -293 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, x, 3/fg/cyan, 0/bg -294 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ", ", 3/fg/cyan, 0/bg -295 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, y, 3/fg/cyan, 0/bg -296 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ") in background-color ", 3/fg/cyan, 0/bg -297 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, bg, 3/fg/cyan, 0/bg -298 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, " but observed background-color ", 3/fg/cyan, 0/bg -299 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, background-color, 3/fg/cyan, 0/bg +291 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg +292 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ": expected (", 3/fg/cyan, 0/bg +293 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, x, 3/fg/cyan, 0/bg +294 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ", ", 3/fg/cyan, 0/bg +295 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, y, 3/fg/cyan, 0/bg +296 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ") in background-color ", 3/fg/cyan, 0/bg +297 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, bg, 3/fg/cyan, 0/bg +298 draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, " but observed background-color ", 3/fg/cyan, 0/bg +299 draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, background-color, 3/fg/cyan, 0/bg 300 move-cursor-to-left-margin-of-next-line 0/screen 301 } 302 idx <- increment @@ -379,7 +379,7 @@ if ('onhashchange' in window) { 320 var screen-on-stack: screen 321 var screen/esi: (addr screen) <- address screen-on-stack 322 initialize-screen screen, 0x10/rows, 4/cols -323 draw-text-wrapping-right-then-down-from-cursor-over-full-screen screen, "Hello, 世界", 1/fg, 2/bg +323 draw-text-wrapping-right-then-down-from-cursor-over-full-screen screen, "Hello, 世界", 1/fg, 2/bg 324 check-screen-row screen, 0/y, "Hello, 世界", "F - test-draw-multiple-graphemes" 325 check-screen-row-in-color screen, 1/fg, 0/y, "Hello, 世界", "F - test-draw-multiple-graphemes-fg" 326 check-background-color-in-screen-row screen, 2/bg, 0/y, "xxxxxxxxx ", "F - test-draw-multiple-graphemes-bg2" -- cgit 1.4.1-2-gfad0