CS447 Lecture Notes - Lecture 3: Empty Set, Intelligent Dance Music, Idms
Document Summary
Use the intended functionality of system to create tests. containselement example. Consider again the method containselement, which takes a list l and an element e. If l or e is null, throw a nullpointerexception. Otherwise, return true if l contains e and false otherwise. Here are some possible sources of characteristics for functionality-based idms: preconditions and postconditions. e. g. 1) object. wait() precondition: must hold lock; lock held or not (the state includes the locks currently held). Using fewer blocks usually gives a more tractable partition, and it is easier to ensure that the partition is disjoint and complete. This part is the most creative in input space testing. Here are some tips for nding good values to test with. We discuss the standard triangle classi cation example again, which takes three side lengths as input. Interface-based try 1: side 1 is: > 0 side 2 is: > 0 side 3 is: > 0.