Package test_suite :: Package unit_tests :: Package _prompt :: Module test_align_tensor :: Class Test_align_tensor
[hide private]
[frames] | no frames]

Class Test_align_tensor

source code


Unit tests for the functions of the 'prompt.align_tensor' module.

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
test_copy_argfail_tensor_from(self)
Failure of the tensor_from arg of the align_tensor.copy() user function.
source code
 
test_copy_argfail_pipe_from(self)
The pipe_from arg test of the align_tensor.copy() user function.
source code
 
test_copy_argfail_tensor_to(self)
Failure of the tensor_to arg of the align_tensor.copy() user function.
source code
 
test_copy_argfail_pipe_to(self)
The pipe_to arg test of the align_tensor.copy() user function.
source code
 
test_copy_argfail_both_pipes(self)
The pipe_from and pipe_to arg test of the align_tensor.copy() user function.
source code
 
test_delete_argfail_tensor(self)
Failure of the tensor arg of the align_tensor.delete() user function.
source code
 
test_display_argfail_tensor(self)
Failure of the tensor arg of the align_tensor.display() user function.
source code
 
test_init_argfail_tensor(self)
Failure of the tensor arg of the align_tensor.init() user function.
source code
 
test_init_argfail_params(self)
Failure of the params arg of the align_tensor.init() user function.
source code
 
test_init_argfail_scale(self)
The scale arg test of the align_tensor.init() user function.
source code
 
test_init_argfail_angle_units(self)
The angle_units arg test of the align_tensor.init() user function.
source code
 
test_init_argfail_param_types(self)
The proper failure of the align_tensor.init() user function for the param_types argument.
source code
 
test_init_argfail_errors(self)
The errors arg test of the align_tensor.init() user function.
source code
 
test_matrix_angles_argfail_basis_set(self)
The proper failure of the align_tensor.matrix_angles() user function for the basis_set argument.
source code
 
test_matrix_angles_argfail_basis_tensors(self)
The tensors arg unit test of the align_tensor.matrix_angles() user function.
source code
 
test_reduction_argfail_full_tensor(self)
Failure of the full_tensor arg of the align_tensor.reduction() user function.
source code
 
test_reduction_argfail_red_tensor(self)
Failure of the red_tensor arg of the align_tensor.reduction() user function.
source code
 
test_set_domain_argfail_tensor(self)
Failure of the tensor arg of the align_tensor.set_domain() user function.
source code
 
test_set_domain_argfail_domain(self)
Failure of the domain arg of the align_tensor.set_domain() user function.
source code
 
test_svd_argfail_basis_set(self)
The proper failure of the align_tensor.svd() user function for the basis_set argument.
source code
 
test_svd_argfail_basis_tensors(self)
The tensors arg unit test of the align_tensor.svd() user function.
source code

Inherited from align_tensor_testing_base.Align_tensor_base_class: setUp, test_copy_fail, test_copy_pull, test_copy_push, test_delete, test_delete_fail_no_data, test_delete_fail_no_pipe, test_display, test_display_fail_no_data, test_display_fail_no_pipe, test_init, test_init_bad_angle_units, test_matrix_angles_identity, test_svd_identity

Inherited from base_classes.UnitTestCase: tearDown

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertFalse, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, debug, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, skipTest

Inherited from unittest.case.TestCase (private): _addSkip, _baseAssertEqual, _deprecate, _formatMessage, _getAssertEqualityFunc, _truncateMessage

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Class Variables [hide private]
  align_tensor_fns = Align_tensor()

Inherited from unittest.case.TestCase: longMessage, maxDiff

Inherited from unittest.case.TestCase (private): _classSetupFailed

Properties [hide private]

Inherited from object: __class__