Package diffpy :: Package pdffit2 :: Package tests :: Module TestPdfFit :: Class TestPdfFit
[hide private]
[frames] | no frames]

Class TestPdfFit

source code

            object --+    
                     |    
unittest.case.TestCase --+
                         |
                        TestPdfFit

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
source code
 
test_add_structure(self)
check PdfFit.add_structure()...
source code
 
test_alloc(self)
check PdfFit.alloc()...
source code
 
test_get_structure(self)
check PdfFit.get_structure()...
source code
 
test_get_atoms(self)
check PdfFit.get_atoms()...
source code
 
test_get_atom_types(self)
check PdfFit.get_atom_types()...
source code
 
test_num_phases(self)
check PdfFit.num_phases()...
source code
 
test_num_datasets(self)
check PdfFit.num_datasets()...
source code
 
test_getcrw(self)
check PdfFit.getcrw()...
source code
 
test_getcrw_two_datasets(self)
check that getcrw() and getrw() are consistent for two datasets.
source code
 
test_psel(self)
check PdfFit.psel()...
source code
 
test_pdesel(self)
check PdfFit.pdesel()...
source code
 
test_bond_angle(self)
check PdfFit.bond_angle()...
source code
 
test_bond_length_atoms(self)
check PdfFit.bond_length_atoms()...
source code
 
test_bond_length_types(self)
check PdfFit.bond_length_types()...
source code
 
test_get_scat(self)
check PdfFit.get_scat()...
source code
 
test_set_scat(self)
check PdfFit.set_scat()...
source code
 
test_reset_scat(self)
check PdfFit.reset_scat()...
source code
 
test_num_atoms(self)
check PdfFit.num_atoms()...
source code

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]
  places = 6

Inherited from unittest.case.TestCase: longMessage, maxDiff

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 
Hook method for setting up the test fixture before exercising it.

Overrides: unittest.case.TestCase.setUp
(inherited documentation)

tearDown(self)

source code 
Hook method for deconstructing the test fixture after testing it.

Overrides: unittest.case.TestCase.tearDown
(inherited documentation)

test_add_structure(self)

source code 
check PdfFit.add_structure()
        

test_alloc(self)

source code 
check PdfFit.alloc()
        

test_get_structure(self)

source code 
check PdfFit.get_structure()
        

test_get_atoms(self)

source code 
check PdfFit.get_atoms()
        

test_get_atom_types(self)

source code 
check PdfFit.get_atom_types()
        

test_num_phases(self)

source code 
check PdfFit.num_phases()
        

test_num_datasets(self)

source code 
check PdfFit.num_datasets()
        

test_getcrw(self)

source code 
check PdfFit.getcrw()
        

test_psel(self)

source code 
check PdfFit.psel()
        

test_pdesel(self)

source code 
check PdfFit.pdesel()
        

test_bond_angle(self)

source code 
check PdfFit.bond_angle()
        

test_bond_length_atoms(self)

source code 
check PdfFit.bond_length_atoms()
        

test_bond_length_types(self)

source code 
check PdfFit.bond_length_types()
        

test_get_scat(self)

source code 
check PdfFit.get_scat()
        

test_set_scat(self)

source code 
check PdfFit.set_scat()
        

test_reset_scat(self)

source code 
check PdfFit.reset_scat()
        

test_num_atoms(self)

source code 
check PdfFit.num_atoms()