|
home—info—lects—labs—exams—hws
tutor/PIs—java.lang docs—java.util docs
side notes on board: When writing test cases: - When testing ints, include 0,1 if whenever sensible (and a negative number and a larger number) - When testing Strings, include a string of length 0 and a string of length 1 whenever sensible (and a larger string) - When testing booleans, include both false and true. Phrase: - the *purpose* of a local variable is to compute a partial result of the overall answer, giving a name to it so you can use it again in the following lines. - (Btw: ditto for "helper" functions. E.g. helperbowtie for overall tasksmileyFace , which in turn is sometimes a helper forthreeSmileys ).
home—info—lects—labs—exams—hws
tutor/PIs—java.lang docs—java.util docs
©2010, Ian Barland, Radford University Last modified 2010.Sep.17 (Fri) |
Please mail any suggestions (incl. typos, broken links) to ibarlandradford.edu |