summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/framebuf1.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-19 23:37:44 +1100
committerDamien George <damien.p.george@gmail.com>2017-01-19 23:37:44 +1100
commit4c4f586e2c798a28ea441fd3ddd409806672138f (patch)
tree56eac6e599b789d532df6bcd756edf20d37ea25c /tests/extmod/framebuf1.py
parent213a7189537fc7b9cc96f0259e5b7b9e46121927 (diff)
downloadmicropython-4c4f586e2c798a28ea441fd3ddd409806672138f.tar.gz
micropython-4c4f586e2c798a28ea441fd3ddd409806672138f.zip
tests/extmod/framebuf1: Add test for no-op fill_rect.
Diffstat (limited to 'tests/extmod/framebuf1.py')
-rw-r--r--tests/extmod/framebuf1.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/extmod/framebuf1.py b/tests/extmod/framebuf1.py
index cdc7e5b188..47dd98d7e4 100644
--- a/tests/extmod/framebuf1.py
+++ b/tests/extmod/framebuf1.py
@@ -50,6 +50,7 @@ print('rect', buf)
#fill rect
fbuf.fill(0)
+fbuf.fill_rect(0, 0, 0, 3, 1) # zero width, no-operation
fbuf.fill_rect(1, 1, 3, 3, 1)
print('fill_rect', buf)