On Wed, 4 Sept 2024 at 21:43, 'Zhen Lei' via KUnit Development
wrote:
>
> Test cases cover all possible situations:
> 1. The cut number is invalid: zero or negative
> 2. Partially cut.
> 3. Cut all.
> 4. The cut number is greater than the number of nodes in the old list.
> 5. The old list is empty
Test cases cover all possible situations:
1. The cut number is invalid: zero or negative
2. Partially cut.
3. Cut all.
4. The cut number is greater than the number of nodes in the old list.
5. The old list is empty.
Signed-off-by: Zhen Lei
---
lib/list-test.c | 51 +++
2 matches
Mail list logo