BloombergLP::bslfmt::TestSpecificationGenerator::addPrecision

Add a precision value to the set used when generating specifications.

Synopsis

Declared in <bslfmt_testspecificationgenerator.h>

void
addPrecision(int precision);

Description

Add the specified precision to the set of precision values. Note that generated instructions will contain the precision only if this function is called before the setup method invocation.

Parameters

NameDescription
precisionnon-negative precision value to add to the generation set