ecl-logo Documentation

NullFieldTest

NullFieldTest[packet,field]test

returns a test to be used in RunUnitTest for whether the value of the given `field` in the `packet` is 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 specified field being Null:

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

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