Back to index

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

Classes

class  TestAlphabet
class  SinglePointTest
class  UniformTest
class  InterleaveTest
class  FourPointTest
class  TwoPointTest
class  TestCrossover
class  SafeFitnessTest

Functions

def test_fitness

Variables

tuple runner = unittest.TextTestRunner(verbosity = 2)

Function Documentation

Simple class for calculating fitnesses.

Definition at line 29 of file test_GACrossover.py.

00029 
00030 def test_fitness(genome):
00031     """Simple class for calculating fitnesses.
00032     """
00033     seq_genome = genome.toseq()
00034     return int(seq_genome.tostring())

Here is the caller graph for this function:


Variable Documentation

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

Definition at line 426 of file test_GACrossover.py.