circuitpython/tests/micropython/viper_ptr16_load_boundary.py.exp
Alessandro Gatti 0d435959e0 tests/micropython: Improve viper ptr boundary tests.
This commit reworks the Viper pointer boundary tests in order to make
them more accurate and easier to extend.

The tests are now easier to reason about in their output, using easier
to read values, and bit thresholds are now more configurable.  If a new
conditional code sequence is introduced, adding a new bit threshold is
just a matter of adding a value into a tuple at the beginning of the
relevant test file.

Load tests have also been made more accurate, with better function
templates to test register-indexed operations.

Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
2025-07-01 15:43:02 +10:00

20 lines
178 B
Text

--- 5
0x100 0x302 0x504
0x100
0x302
0x504
--- 8
0x706 0x908 0xb0a
0x706
0x908
0xb0a
--- 11
0xd0c 0xf0e 0x1110
0xd0c
0xf0e
0x1110
--- 12
0x1312 0x1514 0x1716
0x1312
0x1514
0x1716