Validate Double
Functions
- findDouble(table) ⇒
object Find double testcase definitions.
- findDoubleSub(testCaseModel) ⇒
object Compares each testcase against each other. The double ones are reported. The values for the fields are converted to binary values. For each field the values will be combined with binary AND. If there is an integer > 0 for each field, then the testcase is a double
- findDoubleCompareTestcase(tc1, tc2) ⇒
object Compares one testcase with an other and checks if it is a double one.
findDouble(table) ⇒ object
Find double testcase definitions.
Kind: global function
Returns: object - errors The found double testcases
| Param | Type | Description |
|---|---|---|
| table | object | The table model |
findDoubleSub(testCaseModel) ⇒ object
Compares each testcase against each other. The double ones are reported. The values for the fields are converted to binary values. For each field the values will be combined with binary AND. If there is an integer > 0 for each field, then the testcase is a double
Kind: global function
Returns: object - errors The found double testcases
| Param | Type | Description |
|---|---|---|
| testCaseModel | object | The testcaseModel |
findDoubleCompareTestcase(tc1, tc2) ⇒ object
Compares one testcase with an other and checks if it is a double one.
Kind: global function
Returns: object - results Object returned only if there are double
| Param | Type | Description |
|---|---|---|
| tc1 | object | The first testcase |
| tc2 | object | The second testcase |