Skip to content

Commit 4c4f586

Browse files
committed
tests/extmod/framebuf1: Add test for no-op fill_rect.
1 parent 213a718 commit 4c4f586

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/extmod/framebuf1.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050

5151
#fill rect
5252
fbuf.fill(0)
53+
fbuf.fill_rect(0, 0, 0, 3, 1) # zero width, no-operation
5354
fbuf.fill_rect(1, 1, 3, 3, 1)
5455
print('fill_rect', buf)
5556

0 commit comments

Comments
 (0)