tests/extmod/framebuf1: Add test for no-op fill_rect.
This commit is contained in:
parent
213a718953
commit
4c4f586e2c
|
@ -50,6 +50,7 @@ print('rect', buf)
|
||||||
|
|
||||||
#fill rect
|
#fill rect
|
||||||
fbuf.fill(0)
|
fbuf.fill(0)
|
||||||
|
fbuf.fill_rect(0, 0, 0, 3, 1) # zero width, no-operation
|
||||||
fbuf.fill_rect(1, 1, 3, 3, 1)
|
fbuf.fill_rect(1, 1, 3, 3, 1)
|
||||||
print('fill_rect', buf)
|
print('fill_rect', buf)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue