Results 1 to 3 of 3
  1. #1
    Stefano is offline Member
    Join Date
    Nov 2012
    Posts
    5
    Rep Power
    0

    Default 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

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,196
    Rep Power
    19

    Default Re: Whitebox testing and testing tables, help please

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,196
    Rep Power
    19

    Default Re: Whitebox testing and testing tables, help please

    Quoted for record.
    Quote Originally Posted by Stefano View Post
    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
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. [SOLVED] Just testing...
    By pbrockway2 in forum Forum Lobby
    Replies: 2
    Last Post: 02-19-2013, 06:53 PM
  2. Junit testing, testing list<e> interface
    By mackavelirip in forum New To Java
    Replies: 0
    Last Post: 10-05-2011, 06:08 AM
  3. Testing if it is an Int and if not ask again
    By Alexander_003 in forum New To Java
    Replies: 2
    Last Post: 11-27-2010, 12:09 AM
  4. Emulator Testing
    By phams in forum Sun Java Wireless Toolkit
    Replies: 0
    Last Post: 06-15-2010, 11:33 AM
  5. testing program
    By chrisbremen in forum New To Java
    Replies: 6
    Last Post: 11-08-2008, 05:23 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •