Ensure code runs
Have a set of expected results
""" Assumes x and y are ints Returns True if y is less than x, else False ""
""" Assumes x, eps floats, x >= 0, eps > 0
Returns res such that x-eps <= res*res <= x+eps"""
what are some drawbacks of this type of testing?
once you have discovered that your code does not run properly, you want to:
Overt vs. covert:
Persistent vs. intermittent:
Overt and persistent
Overt and intermittent
when to print
use bisection method
explain the code to
study program code
Treat as a search problem: looking for explanation for incorrect behavior