Design: 02.02.02/P01
This is an abstract, language-independent design. Grim
details may be found in the
corresponding source code.
You may return to the
documentation
for the module containing this program design, or to the
entire hierarchical table of
topics covered by the PVT.
PROGRAM 1: Label
CHARACTERISTICS: nnnn
OPERATOR SCRIPT: passive test.
DESIGN:
Use <inquire current element type and size> thoughout to determine:
celtyp = current element type
celsiz = current element size
Use <inquire current element content> throughout to determine:
celcon = current element content
labid = 46
<label> with labid
TEST: #SR 1 2
"<Inquire current element type and size> should return
label as the type of the created element and the
appropriate element size."
<inquire current element type and size> to set celtyp, celsiz
pass/fail depending on
(celtyp = label and
celsiz = values specified by the standard and language binding)
TEST: #SR 1 3
"<Inquire current element content> should return the standard
representation for label."
<inquire current element content> to set celcon
pass/fail depending on
(celcon = representation as specified by the standard and language binding)
END PROGRAM 1