Lecture 6
4
Test cases known in advance
•
First part of Temperatures main
•
Tests
hard coded
(part of program, known at
compile time) - no user input
•
Output echoes input (
self documenting
)
•
Test cases provided by programmer or
specification
•