@@ -470,7 +470,7 @@ fn float_chromosome_permutations_2_scaled() {
470
470
) ) ;
471
471
472
472
assert_eq ! (
473
- genotype. chromosome_permutations_size ( Some ( 0 ) ) ,
473
+ genotype. chromosome_permutations_size_scaled ( 0 ) ,
474
474
BigUint :: from( 9u32 )
475
475
) ;
476
476
let chromosomes = genotype
@@ -494,7 +494,7 @@ fn float_chromosome_permutations_2_scaled() {
494
494
) ) ;
495
495
496
496
assert_eq ! (
497
- genotype. chromosome_permutations_size ( Some ( 1 ) ) ,
497
+ genotype. chromosome_permutations_size_scaled ( 1 ) ,
498
498
BigUint :: from( 36u32 )
499
499
) ;
500
500
let chromosomes = genotype
@@ -545,7 +545,7 @@ fn float_chromosome_permutations_2_scaled() {
545
545
) ) ;
546
546
547
547
assert_eq ! (
548
- genotype. chromosome_permutations_size ( Some ( 2 ) ) ,
548
+ genotype. chromosome_permutations_size_scaled ( 2 ) ,
549
549
BigUint :: from( 25u32 )
550
550
) ;
551
551
let chromosomes = genotype
@@ -840,7 +840,7 @@ fn integer_chromosome_permutations_2_scaled() {
840
840
assert_eq ! ( inspect:: chromosome( & chromosome) , vec![ 4 , 4 ] ) ;
841
841
842
842
assert_eq ! (
843
- genotype. chromosome_permutations_size ( Some ( 0 ) ) ,
843
+ genotype. chromosome_permutations_size_scaled ( 0 ) ,
844
844
BigUint :: from( 9u32 )
845
845
) ;
846
846
let chromosomes = genotype
@@ -862,7 +862,7 @@ fn integer_chromosome_permutations_2_scaled() {
862
862
) ;
863
863
864
864
assert_eq ! (
865
- genotype. chromosome_permutations_size ( Some ( 1 ) ) ,
865
+ genotype. chromosome_permutations_size_scaled ( 1 ) ,
866
866
BigUint :: from( 36u32 )
867
867
) ;
868
868
let chromosomes = genotype
@@ -911,7 +911,7 @@ fn integer_chromosome_permutations_2_scaled() {
911
911
) ;
912
912
913
913
assert_eq ! (
914
- genotype. chromosome_permutations_size ( Some ( 2 ) ) ,
914
+ genotype. chromosome_permutations_size_scaled ( 2 ) ,
915
915
BigUint :: from( 25u32 )
916
916
) ;
917
917
let chromosomes = genotype
0 commit comments