test+data

=3.2.6 d=
 * ===select suitable test data for a given problem, including normal, borderline and invalid data===

**There are many suitable test data which is given for a given problem, including normal, borderline and invalid data. Testing refers to all the ways in which the programmer ensures that there are no errors in the program.** **You need to make sure that you have considered all kinds of input data, which are:**
 * == KEYWORDS == || == DEFINITIONS  == ||
 * String ||  ||
 * Invalid data || data which should generate an error message if it was input - outside the expected ranges. ||
 * Valid data || data which you would normally expect the user to input - within the expected ranges ||
 * Boundary/ Extreme || data where you would need to be especially careful to test the data at the boundaries between different cases, to ensure that they are dealt with correctly. ||
 * Boolean || is data that can only have two values. The two possible values are often referred to as TRUE and FALSE. There are sometimes reffered to as 1(TRUE) and 0(FALSE) or YES and NO. ||


 * Valid data: Valid data is data which you would normally expect the user to input.
 * Invalid data: Invalid data is data which should generate an error message if it was input.
 * Borderline data: Borderline data is where you would need to be especially careful to test the data at the boundaries between different cases, to ensure that they are dealt with correctly.

**Example:** int num1 = 4, num2 = 5. num3 =3;

//if statement to test greater than// //if (num1 > num3) System.out.println( "num 1 is greater num 2 ");//

if statement where several statements are executed on boolean TRUE for the expression if (num3 < num2) { System.out.println ("num2 is greater than num3"); System.out.println ("num3 is less than num2"); }
 * Solution: **
 * **Test data** || **Reasons data test** || **kind of test data** || **Expected outcome** ||
 * **"" ( Empty text message) ** || ** Message of length 0 ** || ** invalid data ** || ** Error message "blank SMS" ** ||
 * ** "AAAAAAAAAABBBBBBBBBB" ** || ** Message of length exactly 1 and 69 ** || ** Valid data ** || ** Message sent whole as 1 SMS ** ||
 * ** "AAAAAAAAAABBBBBBBBBB **
 * AAAAAAAAAABBBBBBBBBB **
 * AAAAAAAAAABBBBBBBBBB **
 * AAAAAAAAAABBBBBBBBBB **
 * AAAAAAAAAABBBBBBBBBB **
 * AAAAAAAAAABBBBBBBBBB **
 * AAAAAAAAAABBBBBBBBBB" ** || ** Message of length exactly 70 ** || ** Borderline data ** || ** Message sent whole as 1 SMS ** ||
 * ** "AAAAAAAAAABBBBBBBBBB **
 * AAAAAAAAAABBBBBBBBBB **
 * AAAAAAAAAABBBBBBBBBB **
 * AAAAAAAAAABBBBBBBBBB **
 * AAAAAAAAAABBBBBBBBBB **
 * AAAAAAAAAABBBBBBBBBB **
 * AAAAAAAAAABBBBBBBBBB **
 * AAAAAAAAAABBBBBBBBBB" ** || ** Message of length greater than 70 ** || ** Valid data ** || ** Message spilt into 2 SMSand sent ** ||
 * Exam Question:**