On 6/9/24 15:12, Philippe Mathieu-Daudé wrote:
Add comments describing how the FIFO evolves during each test.
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
tests/unit/test-fifo.c | 190 ++++++++++++++++++++++++++++++++++++++++-
1 file changed, 188 insertions(+), 2 deletions(-)
@@ -65,23 +100,50 @@ static void test_fifo8_peek_bufptr_wrap(void)
{
Fifo8 fifo;
uint8_t data_in1[] = { 0x1, 0x2, 0x3, 0x4 };
- uint8_t data_in2[] = { 0x5, 0x6, 0x7, 0x8, 0x1, 0x2 };
+ uint8_t data_in2[] = { 0x5, 0x6, 0x7, 0x8, 0x9, 0xa };
Oops, this hunk is part of patch 1. Will squash locally.