# Whitebox testing and testing tables, help please

• 02-06-2013, 10:49 PM
Stefano
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
• 02-07-2013, 06:01 AM
DarrylBurke
Re: Whitebox testing and testing tables, help please
• 02-07-2013, 06:02 AM
DarrylBurke
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