What are some good test cases for a problem with a linked list as a whole? for example, test cases for a function that finds and eliminates duplicates and returns a pointer to the first node. Some basic cases may be: a function is in C # or Java, not c, C ++. Suppose all positive integers are nodes in a list.
- Null
- Empty list
- Associated List with Loop
- List of all duplicates
- List with one node or two nodes (2 duplications)
- No duplicates
- The list may collide with the whole stream, contain low memory (depending on the 32-bit machine, 64-bit machine)
- Security testing, language automation, memory problems, performance and stress.
What else? awaiting outrageous test cases. Any experts there?
source share