circuitpython/tests/micropython/viper_ptr32_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
282 B
Text

--- 5
0x3020100 0x7060504 0xb0a0908
0x3020100
0x7060504
0xb0a0908
--- 8
0xf0e0d0c 0x13121110 0x17161514
0xf0e0d0c
0x13121110
0x17161514
--- 11
0x1b1a1918 0x1f1e1d1c 0x23222120
0x1b1a1918
0x1f1e1d1c
0x23222120
--- 12
0x27262524 0x2b2a2928 0x2f2e2d2c
0x27262524
0x2b2a2928
0x2f2e2d2c