Java Reference
In-Depth Information
12. You can form complex tests with the Boolean operators
&&
(and),
||
(or), and
!
(not).
13. De Morgan's law shows how to simplify expressions in which the not operator
(
!
) is applied to terms joined by the
&&
or
| |
operators.
14. You can store the outcome of a condition in a Boolean variable.
15. Black-box testing describes a testing method that does not take the structure of
the implementation into account.
16. White-box testing uses information about the structure of a program.
17. Test coverage is a measure of how many parts of a program have been tested.
18. Boundary test cases are test cases that are at the boundary of acceptable inputs.
19. You should calculate test cases by hand to double-check that your application
computes the correct answer.
20. Logging messages can be deactivated when testing is complete.
216
217
FURTHER READING
1.
Peter van der Linden Expert C Programming Prentice-Hall 1994.
2.
http://www.irs.ustreas.gov
The web site of the Internal Revenue Service.
CLASSES, OBJECTS, AND METHODS INTRODUCED IN THIS
CHAPTER
java.lang.Character
isDigit
isLetter
isLowerCase
isUpperCase
java.lang.Object
equals
java.lang.String
equalsIgnoreCase
compareTo