I'm trying to set up a load of test cases for a program, I've managed to create cases for all of the if statements, but the while loops and for loops confuse me a bit as I'm not sure what the test cases should be. I have pseudo code such as:

```
DO for each word (firstword) in textlist

```

and 

```
DO while error flag clear and rows left to read

```