[#BloombergLP-bslfmt-TestSpecificationGenerator-addWidth] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/TestSpecificationGenerator.adoc[TestSpecificationGenerator]::addWidth :relfileprefix: ../../../ :mrdocs: Add the specified `width` to the set of width values. Note that generated instructions will contain the `width` only if this function is called before the `setup` method invocation. == Synopsis Declared in `<bslfmt_testspecificationgenerator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void addWidth(int width); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#