Whitebox testing and testing tables, help please
Basically, would love some help with whitebox testing, i get the general gist, of inputting all possible combinations of things in a program
just finished some truth tables but i'm having trouble with test cases
aware its painfully simple, but having trouble getting my head around it
testing the if statements in a program that you input i,j,k, which are the sides of a triangle and the program determines the kind of triangle it is
if (!( (i>0) && (j>0) && (k>0) ))
if ((i>=j+k) || (j>=k+i) || (k>=i+j))
if (i==j)
if (j==k)
if (k==i)
if (match == 0)
if (match == 1)
Just a point in the right direction would be great thanks
Re: Whitebox testing and testing tables, help please
Re: Whitebox testing and testing tables, help please
Quoted for record.
Quote:
Originally Posted by
Stefano
Basically, would love some help with whitebox testing, i get the general gist, of inputting all possible combinations of things in a program
just finished some truth tables but i'm having trouble with test cases
aware its painfully simple, but having trouble getting my head around it
testing the if statements in a program that you input i,j,k, which are the sides of a triangle and the program determines the kind of triangle it is
if (!( (i>0) && (j>0) && (k>0) ))
if ((i>=j+k) || (j>=k+i) || (k>=i+j))
if (i==j)
if (j==k)
if (k==i)
if (match == 0)
if (match == 1)
Just a point in the right direction would be great thanks