1
0
Fork 0
wasp-os/wasp/boards/simulator
Daniel Thompson 1cb1d96ef4 boards: simulator: Pick up out-of-bounds drawing
Currently, if we ask the simulator to draw out-of-bounds then it will
do exactly that, it will draw outside of the "screen" and corrupt the
pixels of the watch frame that surrounds it. This is an obviously poor
simulation of the real watch and when the out-of-bounds error is only
an out-by-one error can be easily overlooked until we load the code on
the device.

Let's just throw an exception if we draw out-of-bounds. That can easily
be picked up during testing.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-02-25 07:36:15 +00:00
..
conftest.py tests: Auto-discover applications and try to switch to them 2020-12-26 18:07:45 +00:00
display.py boards: simulator: Pick up out-of-bounds drawing 2021-02-25 07:36:15 +00:00
machine.py wasp: simulator: Add interupt support for CST816S 2020-06-11 21:15:47 +01:00
main.py boards: simulator: Enable TestApp by default 2021-01-10 10:40:03 +00:00
micropython.py boards: simulator: Add ptr32 support 2020-04-17 17:19:11 +01:00
test_qa.py simulator: test_qa: Update to match latest policy 2021-01-13 22:14:33 +00:00
test_smoke.py apps: settings: Allow date and time to be set on the watch 2021-01-12 20:27:52 +00:00
test_unit.py simulator: test: Add Draw565.bounding_box unit tests 2021-02-06 13:30:30 +00:00
watch.py simulator: Better align simulator RTC API with the nRF API 2020-12-29 16:07:37 +00:00