Dashboard > GreenPepper Seeds > ... > Set of Interpreter > Superset of Interpreter
  GreenPepper Seeds Log In View a printable version of the current page.  
  Superset of Interpreter
Added by JC Huet, last edited by Laurent Cobos on Jun 27, 2007  (view change)
Labels: 

 GreenPepperAnonymous access is denied. You must log in to use GreenPepper.

Superset of Interpreter

There is a variation of the set concept called superset.

Import
com.greenpepper.interpreter
GreenPepper.Interpreters

The SupersetInterpreter is used when you want the set represented by the rows in the specifications to be a superset of the rows returned by the SUD.
This means that the test can contains rows that are not contained in the SUD (no missing).

rule for Superset of
spec values sud values annotations?
[a]
[b]
[c]
a,b,c [a right]
[b right]
[c right]
[a]
[b]
a,b,c [a right]
[b right]
[c surplus]
[a]
[b]
[c]
a,b [a right]
[b right]
[c]

Duplicates

Duplicate values in the specifications are considered as separates elements in a superset.

rule for Superset Of
spec values sud values annotations?
[a]
[a]
[b]
a,a [a right]
[a right]
[b]
[a]
[b]
a,a [a right]
[b]
[a surplus]

DEMONSTRATION LICENSE - This Confluence site is for demonstration purposes only. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.4.3 Build:#705 Mar 21, 2007) - Bug/feature request - Contact Administrators