This commit is contained in:
Kartik K. Agaram 2021-07-14 01:25:18 -07:00
parent 648d9432b6
commit e0d86d6537
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ fn test-nearest-color-euclidean-hsl {
check-ints-equal red, 0x28/40, "F - test-nearest-color-euclidean-hsl/full-red5"
# try a number really close to red but on the other side of the cylinder
red <- nearest-color-euclidean-hsl 0xff, 0xff, 0xff
draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, red, 7/fg 0/bg
#? draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, red, 7/fg 0/bg
check-ints-equal red, 0x57/87, "F - test-nearest-color-euclidean-hsl/other-end-of-red" # still looks red
# half-saturation red from lightest to darkest
red <- nearest-color-euclidean-hsl 0, 0x80, 0xff