testZeroFieldOperator

A helper for ZeroFieldOperator unit tests.

testZeroFieldOperator takes a set of split file values, a default header, and a set of expected values. The expected values array contains the expected values after each line.

testZeroFieldOperator is very similar to testSingleFieldOperator, except that there is no use of field indices and fewer types of headers. See the latter's documentation and the CountOperator unit tests for examples.

version(unittest)
void
testZeroFieldOperator
(
OperatorClass : ZeroFieldOperator
)
(
const char[][][] splitFile
,,
const char[][] expectedValues
)

Meta