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

Class InputOutputValues

source code

       object --+        
                |        
unittest.TestCase --+    
                    |    
          NcoordsTest --+
                        |
                       InputOutputValues

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException


Instance Methods [hide private]
  test_constructor_shape(self)
__init__ -- make refCoords and resultCoords homogeneous
  test_input_error(self)
__init__ -- ValueError on bad input
  test_reset_values(self)
reset -- points equal input values after reset
  test_getResultCoords_shape(self)
getResultCoords -- if tolist: return nx3 ListType
  test_getResultCoords_type(self)
getResultCoords -- if not tolist: return nx4 Numeric.array

Inherited from NcoordsTest: setUp, tearDown

Inherited from unittest.TestCase: __call__, __init__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

test_constructor_shape(self)

source code 
__init__ -- make refCoords and resultCoords homogeneous

test_input_error(self)

source code 
__init__ -- ValueError on bad input

test_reset_values(self)

source code 
reset -- points equal input values after reset

test_getResultCoords_shape(self)

source code 
getResultCoords -- if tolist: return nx3 ListType

test_getResultCoords_type(self)

source code 
getResultCoords -- if not tolist: return nx4 Numeric.array