top button

Given the following fragment of code, how many tests are required for 100% decision coverage?

0 votes
9 views
posted Apr 4 by Suresh Babu

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

if width > length
thenbiggest_dimension = width
if height > width
thenbiggest_dimension = height
end_if
elsebiggest_dimension = length
if height > length
thenbiggest_dimension = height
end_if
end_if

answer Apr 5 by Suresh
...