Swipe to navigate through the chapters of this book
How do you know that your program works? Can you rely on yourself to write flawless code all the time? Meaning no disrespect, I would guess that’s unlikely. It’s quite easy to write correct code in Python most of the time, certainly, but chances are your code will have bugs.
Please log in to get access to this content
To get access to this content you need the following product:
Of course, testing only one case like this won’t give you much confidence in the correctness of the code. A real test program would probably be a lot more thorough.
3. Check out Computers Ltd: What They Really Can’t Do by David Harel (Oxford University Press, 2000) for a lot of interesting material on the subject.
- Testing, 1-2-3
Magnus Lie Hetland
- Sequence number
- Chapter number
- Chapter 16