Design: 06.02.01/P03
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 3: Behavior of 2D mapping
CHARACTERISTICS: nnnn
OPERATOR SCRIPT: passive test.
DESIGN:
TEST: #SR 1 2 11 12 13
"<Evaluate view mapping matrix> should return a correct
representation for the transformation from the view window
to the 2D projection viewport."
Set 2D mapping parameters:
UMIN, UMAX, VMIN, VMAX = -23.32, 3.56e4, 2.29, 2.295
XMIN, XMAX, YMIN, YMAX = 0.298, 0.736, 0.22, 0.89
<Evaluate view mapping matrix> returns act3x3 = actual array
Compute exp3x3 = expected array
pass/fail depending on (act3x3 represents same transformation as exp3x3)
END PROGRAM 3