Package mglutil :: Package math :: Module ncoordstest
[hide private]
[frames] | no frames]

Module ncoordstest

source code

Unit test for ncoords.py

Requirements for ncoords.py:
    A. __init__:
        1. make Numeric, homogenious coordinates out of refCoords
        2. raise ValueError if refCoords is bad
    B. reset():
        3. nx3 slice of resultCoords must be equal to refCoords
    C. getResultCoords:
        4. return nx3 (not nx4) coordinates
        5. return as Numeric.array or ListType accorinding to self.tolist



Classes [hide private]
  NcoordsTest
  InputOutputValues