diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-02-24 09:35:32 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-02-24 09:35:32 -0800 |
commit | 4eb50e412b43362d7ea094ebe9c2f43c190d5d7f (patch) | |
tree | 32755c2bd72feabea364fa6e92f88e077a513c87 | |
parent | 8fbdfe22405da1a36509cf30417161494e1b5c1a (diff) | |
download | mu-4eb50e412b43362d7ea094ebe9c2f43c190d5d7f.tar.gz |
7798
-rw-r--r-- | baremetal/shell/grapheme-stack.mu | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/baremetal/shell/grapheme-stack.mu b/baremetal/shell/grapheme-stack.mu index ad8fbc24..456df0cb 100644 --- a/baremetal/shell/grapheme-stack.mu +++ b/baremetal/shell/grapheme-stack.mu @@ -187,18 +187,18 @@ fn test-render-grapheme-stack { # var x/eax: int <- render-stack-from-bottom screen, gs, 0/x, 0/y check-screen-row screen, 0/y, "abc ", "F - test-render-grapheme-stack from bottom" -#? check-ints-equal x, 3, "F - test-render-grapheme-stack from bottom: result" -#? check-background-color-in-screen-row screen, 7/bg=cursor, 0/y, " ", "F - test-render-grapheme-stack from bottom: bg" -#? # -#? var x/eax: int <- render-stack-from-top screen, gs, 0/x, 1/y, 0/cursor=false -#? check-screen-row screen, 1/y, "cba ", "F - test-render-grapheme-stack from top without cursor" -#? check-ints-equal x, 3, "F - test-render-grapheme-stack from top without cursor: result" -#? check-background-color-in-screen-row screen, 7/bg=cursor, 1/y, " ", "F - test-render-grapheme-stack from top without cursor: bg" -#? # -#? var x/eax: int <- render-stack-from-top screen, gs, 0/x, 2/y, 1/cursor=true -#? check-screen-row screen, 2/y, "cba ", "F - test-render-grapheme-stack from top with cursor" -#? check-ints-equal x, 3, "F - test-render-grapheme-stack from top without cursor: result" -#? check-background-color-in-screen-row screen, 7/bg=cursor, 2/y, "| ", "F - test-render-grapheme-stack from top with cursor: bg" + check-ints-equal x, 3, "F - test-render-grapheme-stack from bottom: result" + check-background-color-in-screen-row screen, 7/bg=cursor, 0/y, " ", "F - test-render-grapheme-stack from bottom: bg" + # + var x/eax: int <- render-stack-from-top screen, gs, 0/x, 1/y, 0/cursor=false + check-screen-row screen, 1/y, "cba ", "F - test-render-grapheme-stack from top without cursor" + check-ints-equal x, 3, "F - test-render-grapheme-stack from top without cursor: result" + check-background-color-in-screen-row screen, 7/bg=cursor, 1/y, " ", "F - test-render-grapheme-stack from top without cursor: bg" + # + var x/eax: int <- render-stack-from-top screen, gs, 0/x, 2/y, 1/cursor=true + check-screen-row screen, 2/y, "cba ", "F - test-render-grapheme-stack from top with cursor" + check-ints-equal x, 3, "F - test-render-grapheme-stack from top without cursor: result" + check-background-color-in-screen-row screen, 7/bg=cursor, 2/y, "| ", "F - test-render-grapheme-stack from top with cursor: bg" } # compare from bottom |