Files
micropython/tests/micropython/viper_ptr8_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

21 lines
122 B
Plaintext

--- 5
0x0 0x1 0x2
0x0
0x1
0x2
--- 8
0x3 0x4 0x5
0x3
0x4
0x5
--- 11
0x6 0x7 0x8
0x6
0x7
0x8
--- 12
0x9 0xa 0xb
0x9
0xa
0xb