|  Object Oriented Software Engineering   View all facts   Glossary   Help | 
| subject > problem > defect > defect in an ordinary algorithm > not setting up the correct preconditions for an algorithm | 
|   | ||||
| not setting up the correct preconditions for an algorithm comparison table | ||||
| Subject | have testing strategy | is a kind of | is a subtopic of | has definition | 
|---|---|---|---|---|
| defect in an ordinary algorithm | defect | 10.4 - Defects in Numerical Algorithms | ||
| not setting up the correct preconditions for an algorithm | run test cases in which each precondition is not satisfied - preferably its input values are just beyond what the algorithm can accept | defect in an ordinary algorithm | 10.3 - Defects in Ordinary Algorithms | A common defect in which a program proceeds to do its work even when specifies preconditions, that state what must be true before the algorithm should be executed, are not satisfied | 
 Next defect in an ordinary algorithm: not terminating a loop or recursion     Up: defect in an ordinary algorithm    Previous defect in an ordinary algorithm: not handling singleton or non-singleton conditions
Next defect in an ordinary algorithm: not terminating a loop or recursion     Up: defect in an ordinary algorithm    Previous defect in an ordinary algorithm: not handling singleton or non-singleton conditions