10.12.2012 Views

Domain Testing: Divide and Conquer - Testing Education

Domain Testing: Divide and Conquer - Testing Education

Domain Testing: Divide and Conquer - Testing Education

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Analysis<br />

To assert that the output value Z assumes the<br />

correct value for all input values of X <strong>and</strong> Y, we<br />

have to test all possible assignment values of X<br />

<strong>and</strong> Y.<br />

Suppose that X <strong>and</strong> Y take integer values <strong>and</strong> the<br />

program is tested on a computer whose word size<br />

is 32 bits.<br />

What is the maximum integer value that the<br />

program can take?<br />

© Sowmya Padmanabhan, 2003 4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!