Methods
execTest(values, execOptions) → {boolean}
Function that tests two values and print a message depending on a condition function.
Parameters:
| Name | Type | Description |
|---|---|---|
values |
values | Input values. |
execOptions |
execOptions | Test options. |
Returns:
- Type
- boolean
Type Definitions
execOptions
Options of execTest.
Type:
Properties:
| Name | Type | Description |
|---|---|---|
test |
test | Function to be evaluated against input values. |
options
Options of test functions.
Type:
- object
Properties:
| Name | Type | Description |
|---|---|---|
message |
string | Message to print while running the test. |
test(values, options) → {boolean}
Not working
Test function type definition.
Parameters:
| Name | Type | Description |
|---|---|---|
values |
values | input values. |
options |
options | test options. |
Returns:
- Type
- boolean
value
Value
Type:
- boolean | number | string
values
Values to be tested.
Type:
- object
Properties:
| Name | Type | Description |
|---|---|---|
value1 |
value | First value. |
value2 |
value | Second value. |