From 4eb50e412b43362d7ea094ebe9c2f43c190d5d7f Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 24 Feb 2021 09:35:32 -0800 Subject: 7798 --- baremetal/shell/grapheme-stack.mu | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'baremetal/shell') 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 -- cgit 1.4.1-2-gfad0