ecl-logo Documentation

ObjectTypeTest

ObjectTypeTest[packet,field]test

returns a test to be used in RunUnitTest that checks any objects in the given field share the same family as the object.

Details

    Input
    Output

Examples

Basic Examples  (3)

Generate an EmeraldTest that should pass due all of its Objects being of the same subtype:

Generate an EmeraldTest that should failed due all of its SamplesIn not being of the same subtype:

If the field provided has not been informed, the test generated will automatically pass:

Additional Examples  (1)

If the field provided does not exist in the given object, a test returned will automatically fail: