ENG 1002 Lecture Notes - White-Box Testing, Matlab, Equivalence Class

6 views4 pages

Document Summary

Without knowing how the code is written, test whether the code functions as expected. Knowing how the code is written, test all of the possible paths through the program are tested. Both the true path and the false path of an if statement are tested. Cases that are on the transition between behaviours (at the extreme). E. g. if division by 4, would need to try inputs less than 4 equal to 4 and greater than 4. This is the testing of those larger groups of data, which can be represented by many numbers. Testing a positive number, a negative number, a decimal, etc. Area mechanism for grouping data continuously. (arrays) Vectors are created using square brackets [ ] Elements are separated by commas (or a space) , Elements are accessed using round brackets ( ) with an element index number inside. A vector is a 1-dimensional data structure. E. g. as elements are added it grows in one direction.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions