Patent ID: 9727446
Date: 2017-08-08
CPC Classifications: G06F

Claim:
1. A method, comprising: receiving code generated via a technical computing environment (TCE), the code including a value to be tested, and the receiving the code being performed by one or more devices; receiving a value modifier, a test case, and a constraint, the one or more devices being unable to determine whether the value satisfies the constraint when the value is compared to the constraint without the value modifier, the value being associated with a first data type, the first data type being one of: a simple array, a cell array, a structure array, an object, a file, or a string, the constraint being associated with a second data type, the second data type being different from the first data type, the constraint including a literate description of one or more characteristics that the value should possess, the value modifier including syntax that specifies a determination of whether any portion of the simple array, the cell array, the structure array, the object, the file, or the string satisfies the constraint, and the receiving the value modifier, the test case, and the constraint being performed by the one or more devices; generating a test based on the value modifier, the test case, and the constraint, the generating being performed by the one or more devices; performing the test on the value to generate a result, the performing the test being performed by the one or more devices; and outputting or storing the result, the outputting or the storing being performed by the one or more devices.