File: test_GACrossover

package info (click to toggle)
python-biopython 1.45-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 18,192 kB
  • ctags: 12,310
  • sloc: python: 83,505; xml: 13,834; ansic: 7,015; cpp: 1,855; sql: 1,144; makefile: 179
file content (44 lines) | stat: -rw-r--r-- 1,378 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
test_GACrossover
Test basic point crossover functionality. ... ok

----------------------------------------------------------------------
Ran 1 tests in 0.001s

OK
Test basic asymmetric 2-point crossover functionality. ... ok
Test basic 4-point crossover functionality. ... ok
Test properties of symmetric 4-point crossover. ... ok

----------------------------------------------------------------------
Ran 3 tests in 0.004s

OK
Test basic interleave crossover functionality. ... ok
Test basic interleave crossover with asymmetric genomes. ... ok
Test properties of interleave point crossover. ... ok

----------------------------------------------------------------------
Ran 3 tests in 0.005s

OK
Test basic asymmetric 2-point crossover functionality. ... ok

----------------------------------------------------------------------
Ran 1 tests in 0.001s

OK
Test basic uniform crossover functionality. ... ok
Test properties of differing genome length, uniform crossovers. ... ok
Test properties of equal genome length, uniform crossovers. ... ok

----------------------------------------------------------------------
Ran 3 tests in 0.003s

OK
Make sure we always keep higher fitness when specified. ... ok
Make sure we do normal crossover functionality when specified. ... ok

----------------------------------------------------------------------
Ran 2 tests in 0.003s

OK