A couple of missed tests.

This commit is contained in:
Nicholas Marriott
2026-10-14 16:03:03 +01:00
parent ef523497c8
commit 03c11da53d
3 changed files with 32 additions and 10 deletions

View File

@@ -31,6 +31,14 @@ with image_test(sys.argv[1]) as test:
assert len(client.images()) == 1
check_image(client.images()[0], 8, 16, [rgb] * (8 * 16))
# Undefined registers are black in the shared image model.
test.emit(b'\033[2J\033[H\033P9;1q"1;1;8;16'
b'#5!8~-!8~-!8N\033\\')
assert len(client.images()) == 1
check_image(client.images()[0], 8, 16, [(0, 0, 0)] * (8 * 16))
test.redraw()
check_image(client.images()[0], 8, 16, [(0, 0, 0)] * (8 * 16))
# Deliver the terminator in two pieces. No image is placed before it.
test.emit(b'\033[2J\033[H')
for byte in valid[:-1]: