test ideas for booleans ands and ors BB81527B






Guideline: Test Ideas for Mixtures of ANDs and ORs








var backPath = './../../../';
var imgPath = './../../../images/';
var nodeInfo=[{view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_mp7z0DIDEdqwaNnSEheSAg", "_4EQgMDIEEdqwaNnSEheSAg", "_SPvXcN7IEdm8G6yT7-Wdqw", "{45219F27-0F84-4FD5-A7BC-73C19226303B}", "9.407283892342409E-306"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_Jvt1cAIaEdqEutyfYo0quQ", "_EOvXUN7HEdm8G6yT7-Wdqw", "_SPvXcN7IEdm8G6yT7-Wdqw", "{45219F27-0F84-4FD5-A7BC-73C19226303B}", "9.407283892342409E-306"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_Jvt1cAIaEdqEutyfYo0quQ", "_jijhYAIaEdqEutyfYo0quQ", "_3lZjkCxqEdqYV4MWf8PiCw", "{45219F27-0F84-4FD5-A7BC-73C19226303B}", "9.407283892342409E-306"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_jD8dUAIbEdqEutyfYo0quQ", "_2ClPcDIcEdqDs_9ORT1Rig", "9.407283892342409E-306"]}];
contentPage.preload(imgPath, backPath, nodeInfo, '', false, false, false);










Guideline: Test Ideas for Mixtures of ANDs and ORs















This page provides examples of test ideas based on boolean expressions combining ANDs and ORs.






Relationships



Related Elements


Test-Ideas List






Main Description



This catalog applies to expressions that combine ANDs and ORs. As a reminder, here's how to derive test requirements for homogenous expressions: A1 && A2 && ... && An: one test idea with All Ai's true N cases, each of which has exactly one term false. Example: A && B && C A B C true true true FALSE true true true FALSE true true true FALSE A1 || A2 || ... || An: one test idea with All Ai's false N cases, each of which has exactly one term true. Example: A || B || C A B C FALSE FALSE FALSE FALSE true FALSE true FALSE FALSE FALSE FALSE true Two Boolean Operators (A && B) || C A B C FALSE true true true true FALSE FALSE true FALSE true FALSE FALSE A && (B || C) A B C true FALSE FALSE true FALSE true true true FALSE FALSE FALSE true A || (B && C) A B C true true FALSE FALSE true true FALSE FALSE true FALSE true FALSE (A || B) && C A B C FALSE FALSE true FALSE true true true FALSE true FALSE true FALSE Three Boolean Operators One And To help find an expression, read down the columns. The ANDs drift from the left to the right as you read. (A && B) || C || D   ((A || B) && C) || D A B C D   A B C D FALSE true true FALSE   FALSE FALSE true FALSE true true FALSE FALSE   FALSE true true FALSE FALSE true FALSE FALSE   true FALSE true FALSE true FALSE FALSE FALSE   FALSE FALSE true true true FALSE FALSE true   FALSE true FALSE FALSE A && (B || C || D)   A || (B && (C || D)) A B C D   A B C D true FALSE FALSE FALSE   FALSE true FALSE FALSE true FALSE true FALSE   FALSE true FALSE true true true FALSE FALSE   FALSE true true FALSE true FALSE FALSE true   true true FALSE FALSE FALSE FALSE FALSE true   FALSE FALSE FALSE true A || (B && C) || D   A || B || (C && D) A B C D   A B C D true true FALSE FALSE   FALSE true true FALSE FALSE true true FALSE   FALSE FALSE FALSE true FALSE FALSE true FALSE   true FALSE true FALSE FALSE true FALSE FALSE   FALSE FALSE true true FALSE true FALSE true   FALSE FALSE true FALSE (A||B) && (C || D)   (A || B || C) && D A B C D   A B C D FALSE FALSE FALSE true   FALSE FALSE FALSE true FALSE true FALSE true   FALSE true FALSE true true FALSE true FALSE   true FALSE FALSE true FALSE true FALSE FALSE   FALSE FALSE true true           FALSE FALSE true FALSE Three Boolean Operators Two Ands To help find an expression, read down the columns. The ORs drift from the right to the left as you read (A && B && C) || D   ((A && B) || C) && D A B C D   A B C D true true true FALSE   FALSE true true true FALSE true true FALSE   true true FALSE true true FALSE true FALSE   FALSE true FALSE true true FALSE true true   true FALSE FALSE true true true FALSE FALSE   true FALSE true FALSE A && B && (C || D)   A && (B || (C && D)) A B C D   A B C D true true FALSE true   true true true FALSE FALSE true FALSE true   true FALSE true true true FALSE FALSE true   true FALSE FALSE true true true FALSE FALSE   true FALSE true FALSE true true true FALSE   FALSE FALSE true true A && (B || C) && D   (A || B) && C && D A B C D   A B C D true FALSE FALSE true   FALSE FALSE true true true FALSE true true   FALSE true true true true true FALSE true   true FALSE true true FALSE FALSE true true   FALSE true FALSE true true FALSE true FALSE   FALSE true true FALSE (A && B) || (C && D)   A || (B && C && D) A B C D   A B C D FALSE true true true   FALSE true true true true true true FALSE   FALSE FALSE true true FALSE true FALSE true   FALSE true FALSE true true FALSE true FALSE   true true true FALSE           FALSE true true FALSE





©  Copyright IBM Corp. 1987, 2006.  All Rights Reserved.







contentPage.onload();




Wyszukiwarka

Podobne podstrony:
test ideas for booleans and boundariestAE938C
test ideas for statechart and flow diagrams?81354C
test ideas for method?lls?A17E5C
Blade sections for wind turbine and tidal current turbine applications—current status and future cha
06 User Guide for Artlantis Studio and Artlantis Render Export Add ons
Readme For Making Bases and Arenas
2005 02 Ready for Press Templates and Pdfs in Scribus
identify test ideas?6370FD
Comment on A Framework for Modelling Trojans and Computer Virus Infection
Secret Sources For Healing Foods and
Strength and Conditioning For Rugby League and Rugby Union Part 1
Homeopathy for Colds, flu and coughs

więcej podobnych podstron