ecl-logo Documentation

NotNullFieldTest

NotNullFieldTest[packet,field]test

returns a test to be used in RunUnitTest for whether the value of the given `field` in the `packet` is not Null.

Details

  • The test uses NullQ to determine whether the field is Null or not Null. Please see NullQ for details on what inputs pass or fail NullQ.
  • Input
    Output

Examples

Basic Examples  (3)

Generate an EmeraldTest Object on an Packet that should pass due the field being not-Null:

Generate an EmeraldTest Object on an Packet that should fail due the field being Null:

Generate a set of EmeraldTest Objects on an Packet for each of the fields being tested: