Logo Search packages:      
Sourcecode: python-biopython version File versions  Download package

def test_GAMutation::MutationHelper::_never_mutate (   self,
  mutator 
) [private]

Test that a mutator does not cause unexpected mutations.

Definition at line 69 of file test_GAMutation.py.

00069                                     :
        """Test that a mutator does not cause unexpected mutations.
        """
        for trial in range(self.num_trials):
            new_org = mutator.mutate(self.organism)
            assert new_org == self.organism, "Unexpected mutation found"

class ConversionTest(unittest.TestCase, MutationHelper):


Generated by  Doxygen 1.6.0   Back to index