Back to index

python-biopython  1.60
Classes | Functions | Variables
test_HMMGeneral Namespace Reference

Classes

class  NumberAlphabet
class  LetterAlphabet
class  MarkovModelBuilderTest
class  HiddenMarkovModelTest
class  ScaledDPAlgorithmsTest
class  AbstractTrainerTest

Functions

def test_assertion

Variables

tuple runner = unittest.TextTestRunner(verbosity = 2)

Function Documentation

def test_HMMGeneral.test_assertion (   name,
  result,
  expected 
)
Helper function to test an assertion and print out a reasonable error.

Definition at line 32 of file test_HMMGeneral.py.

00032 
00033 def test_assertion(name, result, expected):
00034     """Helper function to test an assertion and print out a reasonable error.
00035     """
00036     assert result == expected, "Expected %s, got %s for %s" \
00037            % (expected, result, name)
    

Here is the caller graph for this function:


Variable Documentation

tuple test_HMMGeneral.runner = unittest.TextTestRunner(verbosity = 2)

Definition at line 426 of file test_HMMGeneral.py.