Design: 04.01.04/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: Annotation text relative element

CHARACTERISTICS: nnnn

OPERATOR SCRIPT: passive test.

DESIGN:

Use <inquire current element type and size> throughout to determine:
    celtyp = current element type
    celsiz = current element size

Use <inquire current element content> throughout to determine:
    celcon = current element content

*** *** ***   Annotation text relative 3 element  *** *** ***

annotation reference point:
xrefpt = 2.33
yrefpt = 0.0
zrefpt = 4e-4
annotation offset:
xannpt = -4.4
yannpt = -99.99
zannpt = 0.0001
chastr = '*#Testing#* ..123'

<annotation text relative 3> with xrefpt, yrefpt, zrefpt, xannpt, yannpt,
                                  zannpt, chastr

TEST: #SR 1 2
      "<Inquire current element type and size> should return
       annotation text relative 3 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 = annotation text relative 3 and
   celsiz = values specified by the standard and language binding)

TEST: #SR 1 3
      "<Inquire current element content> should return the standard
       representation for annotation text relative 3."
<inquire current element content> to set celcon
pass/fail depending on
  (celcon = representation as specified by the standard and language binding)

*** *** ***   Annotation text relative element  *** *** ***

<annotation text relative> with xrefpt, yrefpt, xannpt, yannpt, chastr

TEST: #SR 4 5
      "<Inquire current element type and size> should return
       annotation text relative 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 = annotation text relative and
   celsiz = values specified by the standard and language binding)

TEST: #SR 4 6
      "<Inquire current element content> should return the standard
       representation for annotation text relative."
<inquire current element content> to set celcon
pass/fail depending on
  (celcon = representation as specified by the standard and language binding)

END PROGRAM 1