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.

Variable<br />

(s)<br />

‘width’<br />

Equivalence<br />

Class(es)<br />

All widths<br />

between 1 to<br />

56 inches<br />

All widths<br />

less than 1<br />

inch<br />

All widths<br />

greater than<br />

56 inches<br />

All negative<br />

widths<br />

All widths<br />

with more<br />

than 30<br />

decimal<br />

places after<br />

the decimal<br />

point.<br />

Test cases Risks Notes<br />

1.0000000000<br />

00000000000<br />

000000000,<br />

56.000000000<br />

00000000000<br />

0000000000,<br />

(30 places<br />

after decimal<br />

point)<br />

0.9999999999<br />

99999999999<br />

999999999<br />

(30 places<br />

after the<br />

decimal point)<br />

56.000000000<br />

00000000000<br />

0000000001<br />

(30 places<br />

after the<br />

decimal point)<br />

-1.0000<br />

00000000000<br />

00000000000<br />

0000,<br />

-56.000<br />

00000000000<br />

00000000000<br />

00000<br />

(30 places<br />

after the<br />

decimal point)<br />

1.0000000000<br />

00000000000<br />

0000000000<br />

(31 places<br />

after the<br />

decimal point)<br />

1) Failure to process width values that<br />

lie between 1 inch <strong>and</strong> 56 inches<br />

correctly.<br />

2) Failure to h<strong>and</strong>le up to 30 places<br />

after the decimal point.<br />

3) Mish<strong>and</strong>ling of lower <strong>and</strong> upper<br />

boundary values.<br />

1) Mish<strong>and</strong>ling of width values less<br />

than 1 inch<br />

2) Failure to h<strong>and</strong>le up to 30 places<br />

after the decimal point.<br />

3) Mish<strong>and</strong>ling of value just beneath<br />

the lower boundary.<br />

1) Mish<strong>and</strong>ling of width values greater<br />

than 56 inches<br />

2) Failure to h<strong>and</strong>le up to 30 places<br />

after the decimal point.<br />

3) Mish<strong>and</strong>ling of value just beyond<br />

the upper boundary.<br />

1) Mish<strong>and</strong>ling of negative values.<br />

Taking the absolute value of the<br />

negative width value <strong>and</strong> accepting it<br />

as an allowable width.<br />

2) Failure to h<strong>and</strong>le up to 30 places<br />

after the decimal point.<br />

4) Mish<strong>and</strong>ling of lower <strong>and</strong> upper<br />

boundary values.<br />

1) Mish<strong>and</strong>ling of more than 30 places<br />

after the decimal point.<br />

2) Mish<strong>and</strong>ling of value just beyond<br />

the upper boundary value.<br />

The<br />

program<br />

should<br />

be<br />

capable<br />

of<br />

correctly<br />

h<strong>and</strong>ling<br />

negative<br />

values.

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

Saved successfully!

Ooh no, something went wrong!