diff --git a/src/comb.rs b/src/comb.rs index 77e205c..940eab0 100644 --- a/src/comb.rs +++ b/src/comb.rs @@ -407,22 +407,17 @@ mod tests { #[test] fn test_necklace_generation_with_zeros_in_content() { let content = [1usize, 1, 0, 0, 1]; - let attempt: BTreeSet> = - BTreeSet::from_iter(necklaces_fixed_content(&content).into_iter()); + let attempt: BTreeSet> = BTreeSet::from_iter(necklaces_fixed_content(&content)); let correct_scales = vec![vec![0, 1, 4], vec![0, 4, 1]]; - let correct_result: BTreeSet> = BTreeSet::from_iter(correct_scales.into_iter()); + let correct_result: BTreeSet> = BTreeSet::from_iter(correct_scales); assert_eq!(attempt, correct_result); let content = [5usize, 0, 0, 0, 2]; - let attempt: BTreeSet> = - BTreeSet::from_iter(necklaces_fixed_content(&content).into_iter()); - let correct_result: BTreeSet> = BTreeSet::from_iter( - vec![ - vec![0, 0, 0, 4, 0, 0, 4], - vec![0, 0, 0, 0, 4, 0, 4], - vec![0, 0, 0, 0, 0, 4, 4], - ] - .into_iter(), - ); + let attempt: BTreeSet> = BTreeSet::from_iter(necklaces_fixed_content(&content)); + let correct_result: BTreeSet> = BTreeSet::from_iter(vec![ + vec![0, 0, 0, 4, 0, 0, 4], + vec![0, 0, 0, 0, 4, 0, 4], + vec![0, 0, 0, 0, 0, 4, 4], + ]); assert_eq!(attempt, correct_result); } #[test] @@ -521,7 +516,7 @@ mod tests { #[test] fn test_sawada_225() { let attempt: BTreeSet> = - BTreeSet::from_iter(necklaces_fixed_content(&[2, 2, 5]).into_iter()); + BTreeSet::from_iter(necklaces_fixed_content(&[2, 2, 5])); let correct_scales = vec![ vec![0, 2, 2, 1, 1, 0, 2, 2, 2], vec![0, 2, 2, 1, 0, 2, 2, 2, 1], @@ -608,14 +603,14 @@ mod tests { vec![0, 0, 1, 2, 1, 2, 2, 2, 2], vec![0, 0, 1, 1, 2, 2, 2, 2, 2], ]; - let correct_result: BTreeSet> = BTreeSet::from_iter(correct_scales.into_iter()); + let correct_result: BTreeSet> = BTreeSet::from_iter(correct_scales); assert_eq!(attempt, correct_result); } #[test] fn test_sawada_213() { let attempt: BTreeSet> = - BTreeSet::from_iter(necklaces_fixed_content(&[2, 1, 3]).into_iter()); + BTreeSet::from_iter(necklaces_fixed_content(&[2, 1, 3])); let correct_scales = vec![ vec![0, 0, 1, 2, 2, 2], vec![0, 0, 2, 1, 2, 2], @@ -628,114 +623,101 @@ mod tests { vec![0, 2, 0, 2, 2, 1], vec![0, 2, 1, 0, 2, 2], ]; - let correct_result: BTreeSet> = BTreeSet::from_iter(correct_scales.into_iter()); + let correct_result: BTreeSet> = BTreeSet::from_iter(correct_scales); assert_eq!(attempt, correct_result); } #[test] fn test_partitions_7() { - let attempt = BTreeSet::>::from_iter(partitions(7).into_iter()); - let correct_set = BTreeSet::from_iter( - vec![ - vec![7], - vec![6, 1], - vec![5, 2], - vec![5, 1, 1], - vec![4, 3], - vec![4, 2, 1], - vec![4, 1, 1, 1], - vec![3, 3, 1], - vec![3, 2, 2], - vec![3, 2, 1, 1], - vec![3, 1, 1, 1, 1], - vec![2, 2, 2, 1], - vec![2, 2, 1, 1, 1], - vec![2, 1, 1, 1, 1, 1], - vec![1, 1, 1, 1, 1, 1, 1], - ] - .into_iter(), - ); + let attempt = BTreeSet::>::from_iter(partitions(7)); + let correct_set = BTreeSet::from_iter(vec![ + vec![7], + vec![6, 1], + vec![5, 2], + vec![5, 1, 1], + vec![4, 3], + vec![4, 2, 1], + vec![4, 1, 1, 1], + vec![3, 3, 1], + vec![3, 2, 2], + vec![3, 2, 1, 1], + vec![3, 1, 1, 1, 1], + vec![2, 2, 2, 1], + vec![2, 2, 1, 1, 1], + vec![2, 1, 1, 1, 1, 1], + vec![1, 1, 1, 1, 1, 1, 1], + ]); assert_eq!(attempt, correct_set); } #[test] fn test_partitions_8() { - let attempt = BTreeSet::>::from_iter(partitions(8).into_iter()); - let correct_set = BTreeSet::from_iter( - vec![ - vec![8], - vec![7, 1], - vec![6, 2], - vec![6, 1, 1], - vec![5, 3], - vec![5, 2, 1], - vec![5, 1, 1, 1], - vec![4, 4], - vec![4, 3, 1], - vec![4, 2, 2], - vec![4, 2, 1, 1], - vec![4, 1, 1, 1, 1], - vec![3, 3, 2], - vec![3, 3, 1, 1], - vec![3, 2, 2, 1], - vec![3, 2, 1, 1, 1], - vec![3, 1, 1, 1, 1, 1], - vec![2, 2, 2, 2], - vec![2, 2, 2, 1, 1], - vec![2, 2, 1, 1, 1, 1], - vec![2, 1, 1, 1, 1, 1, 1], - vec![1, 1, 1, 1, 1, 1, 1, 1], - ] - .into_iter(), - ); + let attempt = BTreeSet::>::from_iter(partitions(8)); + let correct_set = BTreeSet::from_iter(vec![ + vec![8], + vec![7, 1], + vec![6, 2], + vec![6, 1, 1], + vec![5, 3], + vec![5, 2, 1], + vec![5, 1, 1, 1], + vec![4, 4], + vec![4, 3, 1], + vec![4, 2, 2], + vec![4, 2, 1, 1], + vec![4, 1, 1, 1, 1], + vec![3, 3, 2], + vec![3, 3, 1, 1], + vec![3, 2, 2, 1], + vec![3, 2, 1, 1, 1], + vec![3, 1, 1, 1, 1, 1], + vec![2, 2, 2, 2], + vec![2, 2, 2, 1, 1], + vec![2, 2, 1, 1, 1, 1], + vec![2, 1, 1, 1, 1, 1, 1], + vec![1, 1, 1, 1, 1, 1, 1, 1], + ]); assert_eq!(attempt, correct_set); } #[test] fn test_sawada_5() { - let attempt: BTreeSet> = - BTreeSet::from_iter(necklaces_fixed_content(&[5]).into_iter()); - let correct_set: BTreeSet> = - BTreeSet::from_iter(vec![vec![0, 0, 0, 0, 0]].into_iter()); + let attempt: BTreeSet> = BTreeSet::from_iter(necklaces_fixed_content(&[5])); + let correct_set: BTreeSet> = BTreeSet::from_iter(vec![vec![0, 0, 0, 0, 0]]); assert_eq!(attempt, correct_set); } #[test] fn test_sawada_52() { - let attempt: BTreeSet> = - BTreeSet::from_iter(necklaces_fixed_content(&[5, 2]).into_iter()); - let correct_set: BTreeSet> = BTreeSet::from_iter( - vec![ - vec![0, 0, 0, 1, 0, 0, 1], - vec![0, 0, 0, 0, 1, 0, 1], - vec![0, 0, 0, 0, 0, 1, 1], - ] - .into_iter(), - ); + let attempt: BTreeSet> = BTreeSet::from_iter(necklaces_fixed_content(&[5, 2])); + let correct_set: BTreeSet> = BTreeSet::from_iter(vec![ + vec![0, 0, 0, 1, 0, 0, 1], + vec![0, 0, 0, 0, 1, 0, 1], + vec![0, 0, 0, 0, 0, 1, 1], + ]); assert_eq!(attempt, correct_set); } #[test] fn test_sawada_1() { - let attempt: BTreeSet> = - BTreeSet::from_iter(necklaces_fixed_content(&[1]).into_iter()); - let correct_set: BTreeSet> = BTreeSet::from_iter(vec![vec![0]].into_iter()); + let attempt: BTreeSet> = BTreeSet::from_iter(necklaces_fixed_content(&[1])); + let correct_set: BTreeSet> = BTreeSet::from_iter(vec![vec![0]]); assert_eq!(attempt, correct_set); } #[test] fn test_sawada_111() { let attempt: BTreeSet> = - BTreeSet::from_iter(necklaces_fixed_content(&[1, 1, 1]).into_iter()); + BTreeSet::from_iter(necklaces_fixed_content(&[1, 1, 1])); let correct_set: BTreeSet> = - BTreeSet::from_iter(vec![vec![0, 1, 2], vec![0, 2, 1]].into_iter()); + BTreeSet::from_iter(vec![vec![0, 1, 2], vec![0, 2, 1]]); assert_eq!(attempt, correct_set); } #[test] fn test_sawada_321() { let attempt: BTreeSet> = - BTreeSet::from_iter(necklaces_fixed_content(&[3, 2, 1]).into_iter()); + BTreeSet::from_iter(necklaces_fixed_content(&[3, 2, 1])); let correct_set: BTreeSet> = BTreeSet::from_iter(vec![ vec![0, 1, 0, 1, 0, 2], vec![0, 0, 2, 1, 0, 1], @@ -754,7 +736,7 @@ mod tests { #[test] fn test_sawada_231() { let attempt: BTreeSet> = - BTreeSet::from_iter(necklaces_fixed_content(&[2, 3, 1]).into_iter()); + BTreeSet::from_iter(necklaces_fixed_content(&[2, 3, 1])); let correct_set: BTreeSet> = BTreeSet::from_iter(vec![ vec![0, 1, 1, 1, 0, 2], vec![0, 1, 1, 0, 2, 1], @@ -783,264 +765,261 @@ mod tests { #[test] fn test_sawada_523() { let attempt: BTreeSet> = - BTreeSet::from_iter(necklaces_fixed_content(&[5, 2, 3]).into_iter()); - let correct_set: BTreeSet> = BTreeSet::from_iter( - vec![ - vec![0, 1, 0, 2, 0, 1, 0, 2, 0, 2], - vec![0, 1, 0, 1, 0, 2, 0, 2, 0, 2], - vec![0, 0, 2, 2, 0, 2, 0, 1, 0, 1], - vec![0, 0, 2, 2, 0, 1, 0, 2, 0, 1], - vec![0, 0, 2, 2, 0, 1, 0, 1, 0, 2], - vec![0, 0, 2, 1, 0, 2, 0, 2, 0, 1], - vec![0, 0, 2, 1, 0, 2, 0, 1, 0, 2], - vec![0, 0, 2, 1, 0, 1, 0, 2, 0, 2], - vec![0, 0, 2, 1, 0, 1, 0, 0, 2, 2], - vec![0, 0, 2, 1, 0, 0, 2, 2, 0, 1], - vec![0, 0, 2, 1, 0, 0, 2, 1, 0, 2], - vec![0, 0, 2, 0, 2, 2, 0, 1, 0, 1], - vec![0, 0, 2, 0, 2, 1, 0, 2, 0, 1], - vec![0, 0, 2, 0, 2, 1, 0, 1, 0, 2], - vec![0, 0, 2, 0, 2, 1, 0, 0, 2, 1], - vec![0, 0, 2, 0, 2, 0, 2, 1, 0, 1], - vec![0, 0, 2, 0, 2, 0, 2, 0, 1, 1], - vec![0, 0, 2, 0, 2, 0, 1, 2, 0, 1], - vec![0, 0, 2, 0, 2, 0, 1, 1, 0, 2], - vec![0, 0, 2, 0, 2, 0, 1, 0, 2, 1], - vec![0, 0, 2, 0, 2, 0, 1, 0, 1, 2], - vec![0, 0, 2, 0, 2, 0, 0, 2, 1, 1], - vec![0, 0, 2, 0, 1, 2, 0, 2, 0, 1], - vec![0, 0, 2, 0, 1, 2, 0, 1, 0, 2], - vec![0, 0, 2, 0, 1, 2, 0, 0, 2, 1], - vec![0, 0, 2, 0, 1, 1, 0, 2, 0, 2], - vec![0, 0, 2, 0, 1, 1, 0, 0, 2, 2], - vec![0, 0, 2, 0, 1, 0, 2, 2, 0, 1], - vec![0, 0, 2, 0, 1, 0, 2, 1, 0, 2], - vec![0, 0, 2, 0, 1, 0, 2, 0, 2, 1], - vec![0, 0, 2, 0, 1, 0, 2, 0, 1, 2], - vec![0, 0, 2, 0, 1, 0, 1, 2, 0, 2], - vec![0, 0, 2, 0, 1, 0, 1, 0, 2, 2], - vec![0, 0, 2, 0, 1, 0, 0, 2, 2, 1], - vec![0, 0, 2, 0, 1, 0, 0, 2, 1, 2], - vec![0, 0, 2, 0, 0, 2, 2, 1, 0, 1], - vec![0, 0, 2, 0, 0, 2, 2, 0, 1, 1], - vec![0, 0, 2, 0, 0, 2, 1, 2, 0, 1], - vec![0, 0, 2, 0, 0, 2, 1, 1, 0, 2], - vec![0, 0, 2, 0, 0, 2, 1, 0, 2, 1], - vec![0, 0, 2, 0, 0, 2, 1, 0, 1, 2], - vec![0, 0, 2, 0, 0, 2, 0, 2, 1, 1], - vec![0, 0, 2, 0, 0, 2, 0, 1, 2, 1], - vec![0, 0, 2, 0, 0, 2, 0, 1, 1, 2], - vec![0, 0, 1, 2, 2, 0, 1, 0, 0, 2], - vec![0, 0, 1, 2, 2, 0, 0, 2, 0, 1], - vec![0, 0, 1, 2, 1, 0, 2, 0, 0, 2], - vec![0, 0, 1, 2, 1, 0, 0, 2, 0, 2], - vec![0, 0, 1, 2, 0, 2, 1, 0, 0, 2], - vec![0, 0, 1, 2, 0, 2, 0, 2, 0, 1], - vec![0, 0, 1, 2, 0, 2, 0, 1, 0, 2], - vec![0, 0, 1, 2, 0, 2, 0, 0, 2, 1], - vec![0, 0, 1, 2, 0, 1, 2, 0, 0, 2], - vec![0, 0, 1, 2, 0, 1, 0, 2, 0, 2], - vec![0, 0, 1, 2, 0, 1, 0, 0, 2, 2], - vec![0, 0, 1, 2, 0, 0, 2, 2, 0, 1], - vec![0, 0, 1, 2, 0, 0, 2, 1, 0, 2], - vec![0, 0, 1, 2, 0, 0, 2, 0, 2, 1], - vec![0, 0, 1, 2, 0, 0, 2, 0, 1, 2], - vec![0, 0, 1, 2, 0, 0, 1, 2, 0, 2], - vec![0, 0, 1, 1, 2, 0, 2, 0, 0, 2], - vec![0, 0, 1, 1, 2, 0, 0, 2, 0, 2], - vec![0, 0, 1, 1, 0, 2, 2, 0, 0, 2], - vec![0, 0, 1, 1, 0, 2, 0, 2, 0, 2], - vec![0, 0, 1, 1, 0, 2, 0, 0, 2, 2], - vec![0, 0, 1, 1, 0, 0, 2, 2, 0, 2], - vec![0, 0, 1, 1, 0, 0, 2, 0, 2, 2], - vec![0, 0, 1, 0, 2, 2, 1, 0, 0, 2], - vec![0, 0, 1, 0, 2, 2, 0, 2, 0, 1], - vec![0, 0, 1, 0, 2, 2, 0, 1, 0, 2], - vec![0, 0, 1, 0, 2, 2, 0, 0, 2, 1], - vec![0, 0, 1, 0, 2, 2, 0, 0, 1, 2], - vec![0, 0, 1, 0, 2, 1, 2, 0, 0, 2], - vec![0, 0, 1, 0, 2, 1, 0, 2, 0, 2], - vec![0, 0, 1, 0, 2, 1, 0, 0, 2, 2], - vec![0, 0, 1, 0, 2, 0, 2, 2, 0, 1], - vec![0, 0, 1, 0, 2, 0, 2, 1, 0, 2], - vec![0, 0, 1, 0, 2, 0, 2, 0, 2, 1], - vec![0, 0, 1, 0, 2, 0, 2, 0, 1, 2], - vec![0, 0, 1, 0, 2, 0, 1, 2, 0, 2], - vec![0, 0, 1, 0, 2, 0, 1, 0, 2, 2], - vec![0, 0, 1, 0, 2, 0, 0, 2, 2, 1], - vec![0, 0, 1, 0, 2, 0, 0, 2, 1, 2], - vec![0, 0, 1, 0, 2, 0, 0, 1, 2, 2], - vec![0, 0, 1, 0, 1, 2, 2, 0, 0, 2], - vec![0, 0, 1, 0, 1, 2, 0, 2, 0, 2], - vec![0, 0, 1, 0, 1, 2, 0, 0, 2, 2], - vec![0, 0, 1, 0, 1, 0, 2, 2, 0, 2], - vec![0, 0, 1, 0, 1, 0, 2, 0, 2, 2], - vec![0, 0, 1, 0, 1, 0, 0, 2, 2, 2], - vec![0, 0, 1, 0, 0, 2, 2, 2, 0, 1], - vec![0, 0, 1, 0, 0, 2, 2, 1, 0, 2], - vec![0, 0, 1, 0, 0, 2, 2, 0, 2, 1], - vec![0, 0, 1, 0, 0, 2, 2, 0, 1, 2], - vec![0, 0, 1, 0, 0, 2, 1, 2, 0, 2], - vec![0, 0, 1, 0, 0, 2, 1, 0, 2, 2], - vec![0, 0, 1, 0, 0, 2, 0, 2, 2, 1], - vec![0, 0, 1, 0, 0, 2, 0, 2, 1, 2], - vec![0, 0, 1, 0, 0, 2, 0, 1, 2, 2], - vec![0, 0, 1, 0, 0, 1, 2, 2, 0, 2], - vec![0, 0, 1, 0, 0, 1, 2, 0, 2, 2], - vec![0, 0, 1, 0, 0, 1, 0, 2, 2, 2], - vec![0, 0, 0, 2, 2, 2, 1, 0, 0, 1], - vec![0, 0, 0, 2, 2, 2, 0, 1, 0, 1], - vec![0, 0, 0, 2, 2, 2, 0, 0, 1, 1], - vec![0, 0, 0, 2, 2, 1, 2, 0, 0, 1], - vec![0, 0, 0, 2, 2, 1, 1, 0, 0, 2], - vec![0, 0, 0, 2, 2, 1, 0, 2, 0, 1], - vec![0, 0, 0, 2, 2, 1, 0, 1, 0, 2], - vec![0, 0, 0, 2, 2, 1, 0, 0, 2, 1], - vec![0, 0, 0, 2, 2, 1, 0, 0, 1, 2], - vec![0, 0, 0, 2, 2, 0, 2, 1, 0, 1], - vec![0, 0, 0, 2, 2, 0, 2, 0, 1, 1], - vec![0, 0, 0, 2, 2, 0, 1, 2, 0, 1], - vec![0, 0, 0, 2, 2, 0, 1, 1, 0, 2], - vec![0, 0, 0, 2, 2, 0, 1, 0, 2, 1], - vec![0, 0, 0, 2, 2, 0, 1, 0, 1, 2], - vec![0, 0, 0, 2, 2, 0, 0, 2, 1, 1], - vec![0, 0, 0, 2, 2, 0, 0, 1, 2, 1], - vec![0, 0, 0, 2, 2, 0, 0, 1, 1, 2], - vec![0, 0, 0, 2, 1, 2, 2, 0, 0, 1], - vec![0, 0, 0, 2, 1, 2, 1, 0, 0, 2], - vec![0, 0, 0, 2, 1, 2, 0, 2, 0, 1], - vec![0, 0, 0, 2, 1, 2, 0, 1, 0, 2], - vec![0, 0, 0, 2, 1, 2, 0, 0, 2, 1], - vec![0, 0, 0, 2, 1, 2, 0, 0, 1, 2], - vec![0, 0, 0, 2, 1, 1, 2, 0, 0, 2], - vec![0, 0, 0, 2, 1, 1, 0, 2, 0, 2], - vec![0, 0, 0, 2, 1, 1, 0, 0, 2, 2], - vec![0, 0, 0, 2, 1, 0, 2, 2, 0, 1], - vec![0, 0, 0, 2, 1, 0, 2, 1, 0, 2], - vec![0, 0, 0, 2, 1, 0, 2, 0, 2, 1], - vec![0, 0, 0, 2, 1, 0, 2, 0, 1, 2], - vec![0, 0, 0, 2, 1, 0, 1, 2, 0, 2], - vec![0, 0, 0, 2, 1, 0, 1, 0, 2, 2], - vec![0, 0, 0, 2, 1, 0, 0, 2, 2, 1], - vec![0, 0, 0, 2, 1, 0, 0, 2, 1, 2], - vec![0, 0, 0, 2, 1, 0, 0, 1, 2, 2], - vec![0, 0, 0, 2, 0, 2, 2, 1, 0, 1], - vec![0, 0, 0, 2, 0, 2, 2, 0, 1, 1], - vec![0, 0, 0, 2, 0, 2, 1, 2, 0, 1], - vec![0, 0, 0, 2, 0, 2, 1, 1, 0, 2], - vec![0, 0, 0, 2, 0, 2, 1, 0, 2, 1], - vec![0, 0, 0, 2, 0, 2, 1, 0, 1, 2], - vec![0, 0, 0, 2, 0, 2, 0, 2, 1, 1], - vec![0, 0, 0, 2, 0, 2, 0, 1, 2, 1], - vec![0, 0, 0, 2, 0, 2, 0, 1, 1, 2], - vec![0, 0, 0, 2, 0, 1, 2, 2, 0, 1], - vec![0, 0, 0, 2, 0, 1, 2, 1, 0, 2], - vec![0, 0, 0, 2, 0, 1, 2, 0, 2, 1], - vec![0, 0, 0, 2, 0, 1, 2, 0, 1, 2], - vec![0, 0, 0, 2, 0, 1, 1, 2, 0, 2], - vec![0, 0, 0, 2, 0, 1, 1, 0, 2, 2], - vec![0, 0, 0, 2, 0, 1, 0, 2, 2, 1], - vec![0, 0, 0, 2, 0, 1, 0, 2, 1, 2], - vec![0, 0, 0, 2, 0, 1, 0, 1, 2, 2], - vec![0, 0, 0, 2, 0, 0, 2, 2, 1, 1], - vec![0, 0, 0, 2, 0, 0, 2, 1, 2, 1], - vec![0, 0, 0, 2, 0, 0, 2, 1, 1, 2], - vec![0, 0, 0, 2, 0, 0, 1, 2, 2, 1], - vec![0, 0, 0, 2, 0, 0, 1, 2, 1, 2], - vec![0, 0, 0, 2, 0, 0, 1, 1, 2, 2], - vec![0, 0, 0, 1, 2, 2, 2, 0, 0, 1], - vec![0, 0, 0, 1, 2, 2, 1, 0, 0, 2], - vec![0, 0, 0, 1, 2, 2, 0, 2, 0, 1], - vec![0, 0, 0, 1, 2, 2, 0, 1, 0, 2], - vec![0, 0, 0, 1, 2, 2, 0, 0, 2, 1], - vec![0, 0, 0, 1, 2, 2, 0, 0, 1, 2], - vec![0, 0, 0, 1, 2, 1, 2, 0, 0, 2], - vec![0, 0, 0, 1, 2, 1, 0, 2, 0, 2], - vec![0, 0, 0, 1, 2, 1, 0, 0, 2, 2], - vec![0, 0, 0, 1, 2, 0, 2, 2, 0, 1], - vec![0, 0, 0, 1, 2, 0, 2, 1, 0, 2], - vec![0, 0, 0, 1, 2, 0, 2, 0, 2, 1], - vec![0, 0, 0, 1, 2, 0, 2, 0, 1, 2], - vec![0, 0, 0, 1, 2, 0, 1, 2, 0, 2], - vec![0, 0, 0, 1, 2, 0, 1, 0, 2, 2], - vec![0, 0, 0, 1, 2, 0, 0, 2, 2, 1], - vec![0, 0, 0, 1, 2, 0, 0, 2, 1, 2], - vec![0, 0, 0, 1, 2, 0, 0, 1, 2, 2], - vec![0, 0, 0, 1, 1, 2, 2, 0, 0, 2], - vec![0, 0, 0, 1, 1, 2, 0, 2, 0, 2], - vec![0, 0, 0, 1, 1, 2, 0, 0, 2, 2], - vec![0, 0, 0, 1, 1, 0, 2, 2, 0, 2], - vec![0, 0, 0, 1, 1, 0, 2, 0, 2, 2], - vec![0, 0, 0, 1, 1, 0, 0, 2, 2, 2], - vec![0, 0, 0, 1, 0, 2, 2, 2, 0, 1], - vec![0, 0, 0, 1, 0, 2, 2, 1, 0, 2], - vec![0, 0, 0, 1, 0, 2, 2, 0, 2, 1], - vec![0, 0, 0, 1, 0, 2, 2, 0, 1, 2], - vec![0, 0, 0, 1, 0, 2, 1, 2, 0, 2], - vec![0, 0, 0, 1, 0, 2, 1, 0, 2, 2], - vec![0, 0, 0, 1, 0, 2, 0, 2, 2, 1], - vec![0, 0, 0, 1, 0, 2, 0, 2, 1, 2], - vec![0, 0, 0, 1, 0, 2, 0, 1, 2, 2], - vec![0, 0, 0, 1, 0, 1, 2, 2, 0, 2], - vec![0, 0, 0, 1, 0, 1, 2, 0, 2, 2], - vec![0, 0, 0, 1, 0, 1, 0, 2, 2, 2], - vec![0, 0, 0, 1, 0, 0, 2, 2, 2, 1], - vec![0, 0, 0, 1, 0, 0, 2, 2, 1, 2], - vec![0, 0, 0, 1, 0, 0, 2, 1, 2, 2], - vec![0, 0, 0, 1, 0, 0, 1, 2, 2, 2], - vec![0, 0, 0, 0, 2, 2, 2, 1, 0, 1], - vec![0, 0, 0, 0, 2, 2, 2, 0, 1, 1], - vec![0, 0, 0, 0, 2, 2, 1, 2, 0, 1], - vec![0, 0, 0, 0, 2, 2, 1, 1, 0, 2], - vec![0, 0, 0, 0, 2, 2, 1, 0, 2, 1], - vec![0, 0, 0, 0, 2, 2, 1, 0, 1, 2], - vec![0, 0, 0, 0, 2, 2, 0, 2, 1, 1], - vec![0, 0, 0, 0, 2, 2, 0, 1, 2, 1], - vec![0, 0, 0, 0, 2, 2, 0, 1, 1, 2], - vec![0, 0, 0, 0, 2, 1, 2, 2, 0, 1], - vec![0, 0, 0, 0, 2, 1, 2, 1, 0, 2], - vec![0, 0, 0, 0, 2, 1, 2, 0, 2, 1], - vec![0, 0, 0, 0, 2, 1, 2, 0, 1, 2], - vec![0, 0, 0, 0, 2, 1, 1, 2, 0, 2], - vec![0, 0, 0, 0, 2, 1, 1, 0, 2, 2], - vec![0, 0, 0, 0, 2, 1, 0, 2, 2, 1], - vec![0, 0, 0, 0, 2, 1, 0, 2, 1, 2], - vec![0, 0, 0, 0, 2, 1, 0, 1, 2, 2], - vec![0, 0, 0, 0, 2, 0, 2, 2, 1, 1], - vec![0, 0, 0, 0, 2, 0, 2, 1, 2, 1], - vec![0, 0, 0, 0, 2, 0, 2, 1, 1, 2], - vec![0, 0, 0, 0, 2, 0, 1, 2, 2, 1], - vec![0, 0, 0, 0, 2, 0, 1, 2, 1, 2], - vec![0, 0, 0, 0, 2, 0, 1, 1, 2, 2], - vec![0, 0, 0, 0, 1, 2, 2, 2, 0, 1], - vec![0, 0, 0, 0, 1, 2, 2, 1, 0, 2], - vec![0, 0, 0, 0, 1, 2, 2, 0, 2, 1], - vec![0, 0, 0, 0, 1, 2, 2, 0, 1, 2], - vec![0, 0, 0, 0, 1, 2, 1, 2, 0, 2], - vec![0, 0, 0, 0, 1, 2, 1, 0, 2, 2], - vec![0, 0, 0, 0, 1, 2, 0, 2, 2, 1], - vec![0, 0, 0, 0, 1, 2, 0, 2, 1, 2], - vec![0, 0, 0, 0, 1, 2, 0, 1, 2, 2], - vec![0, 0, 0, 0, 1, 1, 2, 2, 0, 2], - vec![0, 0, 0, 0, 1, 1, 2, 0, 2, 2], - vec![0, 0, 0, 0, 1, 1, 0, 2, 2, 2], - vec![0, 0, 0, 0, 1, 0, 2, 2, 2, 1], - vec![0, 0, 0, 0, 1, 0, 2, 2, 1, 2], - vec![0, 0, 0, 0, 1, 0, 2, 1, 2, 2], - vec![0, 0, 0, 0, 1, 0, 1, 2, 2, 2], - vec![0, 0, 0, 0, 0, 2, 2, 2, 1, 1], - vec![0, 0, 0, 0, 0, 2, 2, 1, 2, 1], - vec![0, 0, 0, 0, 0, 2, 2, 1, 1, 2], - vec![0, 0, 0, 0, 0, 2, 1, 2, 2, 1], - vec![0, 0, 0, 0, 0, 2, 1, 2, 1, 2], - vec![0, 0, 0, 0, 0, 2, 1, 1, 2, 2], - vec![0, 0, 0, 0, 0, 1, 2, 2, 2, 1], - vec![0, 0, 0, 0, 0, 1, 2, 2, 1, 2], - vec![0, 0, 0, 0, 0, 1, 2, 1, 2, 2], - vec![0, 0, 0, 0, 0, 1, 1, 2, 2, 2], - ] - .into_iter(), - ); + BTreeSet::from_iter(necklaces_fixed_content(&[5, 2, 3])); + let correct_set: BTreeSet> = BTreeSet::from_iter(vec![ + vec![0, 1, 0, 2, 0, 1, 0, 2, 0, 2], + vec![0, 1, 0, 1, 0, 2, 0, 2, 0, 2], + vec![0, 0, 2, 2, 0, 2, 0, 1, 0, 1], + vec![0, 0, 2, 2, 0, 1, 0, 2, 0, 1], + vec![0, 0, 2, 2, 0, 1, 0, 1, 0, 2], + vec![0, 0, 2, 1, 0, 2, 0, 2, 0, 1], + vec![0, 0, 2, 1, 0, 2, 0, 1, 0, 2], + vec![0, 0, 2, 1, 0, 1, 0, 2, 0, 2], + vec![0, 0, 2, 1, 0, 1, 0, 0, 2, 2], + vec![0, 0, 2, 1, 0, 0, 2, 2, 0, 1], + vec![0, 0, 2, 1, 0, 0, 2, 1, 0, 2], + vec![0, 0, 2, 0, 2, 2, 0, 1, 0, 1], + vec![0, 0, 2, 0, 2, 1, 0, 2, 0, 1], + vec![0, 0, 2, 0, 2, 1, 0, 1, 0, 2], + vec![0, 0, 2, 0, 2, 1, 0, 0, 2, 1], + vec![0, 0, 2, 0, 2, 0, 2, 1, 0, 1], + vec![0, 0, 2, 0, 2, 0, 2, 0, 1, 1], + vec![0, 0, 2, 0, 2, 0, 1, 2, 0, 1], + vec![0, 0, 2, 0, 2, 0, 1, 1, 0, 2], + vec![0, 0, 2, 0, 2, 0, 1, 0, 2, 1], + vec![0, 0, 2, 0, 2, 0, 1, 0, 1, 2], + vec![0, 0, 2, 0, 2, 0, 0, 2, 1, 1], + vec![0, 0, 2, 0, 1, 2, 0, 2, 0, 1], + vec![0, 0, 2, 0, 1, 2, 0, 1, 0, 2], + vec![0, 0, 2, 0, 1, 2, 0, 0, 2, 1], + vec![0, 0, 2, 0, 1, 1, 0, 2, 0, 2], + vec![0, 0, 2, 0, 1, 1, 0, 0, 2, 2], + vec![0, 0, 2, 0, 1, 0, 2, 2, 0, 1], + vec![0, 0, 2, 0, 1, 0, 2, 1, 0, 2], + vec![0, 0, 2, 0, 1, 0, 2, 0, 2, 1], + vec![0, 0, 2, 0, 1, 0, 2, 0, 1, 2], + vec![0, 0, 2, 0, 1, 0, 1, 2, 0, 2], + vec![0, 0, 2, 0, 1, 0, 1, 0, 2, 2], + vec![0, 0, 2, 0, 1, 0, 0, 2, 2, 1], + vec![0, 0, 2, 0, 1, 0, 0, 2, 1, 2], + vec![0, 0, 2, 0, 0, 2, 2, 1, 0, 1], + vec![0, 0, 2, 0, 0, 2, 2, 0, 1, 1], + vec![0, 0, 2, 0, 0, 2, 1, 2, 0, 1], + vec![0, 0, 2, 0, 0, 2, 1, 1, 0, 2], + vec![0, 0, 2, 0, 0, 2, 1, 0, 2, 1], + vec![0, 0, 2, 0, 0, 2, 1, 0, 1, 2], + vec![0, 0, 2, 0, 0, 2, 0, 2, 1, 1], + vec![0, 0, 2, 0, 0, 2, 0, 1, 2, 1], + vec![0, 0, 2, 0, 0, 2, 0, 1, 1, 2], + vec![0, 0, 1, 2, 2, 0, 1, 0, 0, 2], + vec![0, 0, 1, 2, 2, 0, 0, 2, 0, 1], + vec![0, 0, 1, 2, 1, 0, 2, 0, 0, 2], + vec![0, 0, 1, 2, 1, 0, 0, 2, 0, 2], + vec![0, 0, 1, 2, 0, 2, 1, 0, 0, 2], + vec![0, 0, 1, 2, 0, 2, 0, 2, 0, 1], + vec![0, 0, 1, 2, 0, 2, 0, 1, 0, 2], + vec![0, 0, 1, 2, 0, 2, 0, 0, 2, 1], + vec![0, 0, 1, 2, 0, 1, 2, 0, 0, 2], + vec![0, 0, 1, 2, 0, 1, 0, 2, 0, 2], + vec![0, 0, 1, 2, 0, 1, 0, 0, 2, 2], + vec![0, 0, 1, 2, 0, 0, 2, 2, 0, 1], + vec![0, 0, 1, 2, 0, 0, 2, 1, 0, 2], + vec![0, 0, 1, 2, 0, 0, 2, 0, 2, 1], + vec![0, 0, 1, 2, 0, 0, 2, 0, 1, 2], + vec![0, 0, 1, 2, 0, 0, 1, 2, 0, 2], + vec![0, 0, 1, 1, 2, 0, 2, 0, 0, 2], + vec![0, 0, 1, 1, 2, 0, 0, 2, 0, 2], + vec![0, 0, 1, 1, 0, 2, 2, 0, 0, 2], + vec![0, 0, 1, 1, 0, 2, 0, 2, 0, 2], + vec![0, 0, 1, 1, 0, 2, 0, 0, 2, 2], + vec![0, 0, 1, 1, 0, 0, 2, 2, 0, 2], + vec![0, 0, 1, 1, 0, 0, 2, 0, 2, 2], + vec![0, 0, 1, 0, 2, 2, 1, 0, 0, 2], + vec![0, 0, 1, 0, 2, 2, 0, 2, 0, 1], + vec![0, 0, 1, 0, 2, 2, 0, 1, 0, 2], + vec![0, 0, 1, 0, 2, 2, 0, 0, 2, 1], + vec![0, 0, 1, 0, 2, 2, 0, 0, 1, 2], + vec![0, 0, 1, 0, 2, 1, 2, 0, 0, 2], + vec![0, 0, 1, 0, 2, 1, 0, 2, 0, 2], + vec![0, 0, 1, 0, 2, 1, 0, 0, 2, 2], + vec![0, 0, 1, 0, 2, 0, 2, 2, 0, 1], + vec![0, 0, 1, 0, 2, 0, 2, 1, 0, 2], + vec![0, 0, 1, 0, 2, 0, 2, 0, 2, 1], + vec![0, 0, 1, 0, 2, 0, 2, 0, 1, 2], + vec![0, 0, 1, 0, 2, 0, 1, 2, 0, 2], + vec![0, 0, 1, 0, 2, 0, 1, 0, 2, 2], + vec![0, 0, 1, 0, 2, 0, 0, 2, 2, 1], + vec![0, 0, 1, 0, 2, 0, 0, 2, 1, 2], + vec![0, 0, 1, 0, 2, 0, 0, 1, 2, 2], + vec![0, 0, 1, 0, 1, 2, 2, 0, 0, 2], + vec![0, 0, 1, 0, 1, 2, 0, 2, 0, 2], + vec![0, 0, 1, 0, 1, 2, 0, 0, 2, 2], + vec![0, 0, 1, 0, 1, 0, 2, 2, 0, 2], + vec![0, 0, 1, 0, 1, 0, 2, 0, 2, 2], + vec![0, 0, 1, 0, 1, 0, 0, 2, 2, 2], + vec![0, 0, 1, 0, 0, 2, 2, 2, 0, 1], + vec![0, 0, 1, 0, 0, 2, 2, 1, 0, 2], + vec![0, 0, 1, 0, 0, 2, 2, 0, 2, 1], + vec![0, 0, 1, 0, 0, 2, 2, 0, 1, 2], + vec![0, 0, 1, 0, 0, 2, 1, 2, 0, 2], + vec![0, 0, 1, 0, 0, 2, 1, 0, 2, 2], + vec![0, 0, 1, 0, 0, 2, 0, 2, 2, 1], + vec![0, 0, 1, 0, 0, 2, 0, 2, 1, 2], + vec![0, 0, 1, 0, 0, 2, 0, 1, 2, 2], + vec![0, 0, 1, 0, 0, 1, 2, 2, 0, 2], + vec![0, 0, 1, 0, 0, 1, 2, 0, 2, 2], + vec![0, 0, 1, 0, 0, 1, 0, 2, 2, 2], + vec![0, 0, 0, 2, 2, 2, 1, 0, 0, 1], + vec![0, 0, 0, 2, 2, 2, 0, 1, 0, 1], + vec![0, 0, 0, 2, 2, 2, 0, 0, 1, 1], + vec![0, 0, 0, 2, 2, 1, 2, 0, 0, 1], + vec![0, 0, 0, 2, 2, 1, 1, 0, 0, 2], + vec![0, 0, 0, 2, 2, 1, 0, 2, 0, 1], + vec![0, 0, 0, 2, 2, 1, 0, 1, 0, 2], + vec![0, 0, 0, 2, 2, 1, 0, 0, 2, 1], + vec![0, 0, 0, 2, 2, 1, 0, 0, 1, 2], + vec![0, 0, 0, 2, 2, 0, 2, 1, 0, 1], + vec![0, 0, 0, 2, 2, 0, 2, 0, 1, 1], + vec![0, 0, 0, 2, 2, 0, 1, 2, 0, 1], + vec![0, 0, 0, 2, 2, 0, 1, 1, 0, 2], + vec![0, 0, 0, 2, 2, 0, 1, 0, 2, 1], + vec![0, 0, 0, 2, 2, 0, 1, 0, 1, 2], + vec![0, 0, 0, 2, 2, 0, 0, 2, 1, 1], + vec![0, 0, 0, 2, 2, 0, 0, 1, 2, 1], + vec![0, 0, 0, 2, 2, 0, 0, 1, 1, 2], + vec![0, 0, 0, 2, 1, 2, 2, 0, 0, 1], + vec![0, 0, 0, 2, 1, 2, 1, 0, 0, 2], + vec![0, 0, 0, 2, 1, 2, 0, 2, 0, 1], + vec![0, 0, 0, 2, 1, 2, 0, 1, 0, 2], + vec![0, 0, 0, 2, 1, 2, 0, 0, 2, 1], + vec![0, 0, 0, 2, 1, 2, 0, 0, 1, 2], + vec![0, 0, 0, 2, 1, 1, 2, 0, 0, 2], + vec![0, 0, 0, 2, 1, 1, 0, 2, 0, 2], + vec![0, 0, 0, 2, 1, 1, 0, 0, 2, 2], + vec![0, 0, 0, 2, 1, 0, 2, 2, 0, 1], + vec![0, 0, 0, 2, 1, 0, 2, 1, 0, 2], + vec![0, 0, 0, 2, 1, 0, 2, 0, 2, 1], + vec![0, 0, 0, 2, 1, 0, 2, 0, 1, 2], + vec![0, 0, 0, 2, 1, 0, 1, 2, 0, 2], + vec![0, 0, 0, 2, 1, 0, 1, 0, 2, 2], + vec![0, 0, 0, 2, 1, 0, 0, 2, 2, 1], + vec![0, 0, 0, 2, 1, 0, 0, 2, 1, 2], + vec![0, 0, 0, 2, 1, 0, 0, 1, 2, 2], + vec![0, 0, 0, 2, 0, 2, 2, 1, 0, 1], + vec![0, 0, 0, 2, 0, 2, 2, 0, 1, 1], + vec![0, 0, 0, 2, 0, 2, 1, 2, 0, 1], + vec![0, 0, 0, 2, 0, 2, 1, 1, 0, 2], + vec![0, 0, 0, 2, 0, 2, 1, 0, 2, 1], + vec![0, 0, 0, 2, 0, 2, 1, 0, 1, 2], + vec![0, 0, 0, 2, 0, 2, 0, 2, 1, 1], + vec![0, 0, 0, 2, 0, 2, 0, 1, 2, 1], + vec![0, 0, 0, 2, 0, 2, 0, 1, 1, 2], + vec![0, 0, 0, 2, 0, 1, 2, 2, 0, 1], + vec![0, 0, 0, 2, 0, 1, 2, 1, 0, 2], + vec![0, 0, 0, 2, 0, 1, 2, 0, 2, 1], + vec![0, 0, 0, 2, 0, 1, 2, 0, 1, 2], + vec![0, 0, 0, 2, 0, 1, 1, 2, 0, 2], + vec![0, 0, 0, 2, 0, 1, 1, 0, 2, 2], + vec![0, 0, 0, 2, 0, 1, 0, 2, 2, 1], + vec![0, 0, 0, 2, 0, 1, 0, 2, 1, 2], + vec![0, 0, 0, 2, 0, 1, 0, 1, 2, 2], + vec![0, 0, 0, 2, 0, 0, 2, 2, 1, 1], + vec![0, 0, 0, 2, 0, 0, 2, 1, 2, 1], + vec![0, 0, 0, 2, 0, 0, 2, 1, 1, 2], + vec![0, 0, 0, 2, 0, 0, 1, 2, 2, 1], + vec![0, 0, 0, 2, 0, 0, 1, 2, 1, 2], + vec![0, 0, 0, 2, 0, 0, 1, 1, 2, 2], + vec![0, 0, 0, 1, 2, 2, 2, 0, 0, 1], + vec![0, 0, 0, 1, 2, 2, 1, 0, 0, 2], + vec![0, 0, 0, 1, 2, 2, 0, 2, 0, 1], + vec![0, 0, 0, 1, 2, 2, 0, 1, 0, 2], + vec![0, 0, 0, 1, 2, 2, 0, 0, 2, 1], + vec![0, 0, 0, 1, 2, 2, 0, 0, 1, 2], + vec![0, 0, 0, 1, 2, 1, 2, 0, 0, 2], + vec![0, 0, 0, 1, 2, 1, 0, 2, 0, 2], + vec![0, 0, 0, 1, 2, 1, 0, 0, 2, 2], + vec![0, 0, 0, 1, 2, 0, 2, 2, 0, 1], + vec![0, 0, 0, 1, 2, 0, 2, 1, 0, 2], + vec![0, 0, 0, 1, 2, 0, 2, 0, 2, 1], + vec![0, 0, 0, 1, 2, 0, 2, 0, 1, 2], + vec![0, 0, 0, 1, 2, 0, 1, 2, 0, 2], + vec![0, 0, 0, 1, 2, 0, 1, 0, 2, 2], + vec![0, 0, 0, 1, 2, 0, 0, 2, 2, 1], + vec![0, 0, 0, 1, 2, 0, 0, 2, 1, 2], + vec![0, 0, 0, 1, 2, 0, 0, 1, 2, 2], + vec![0, 0, 0, 1, 1, 2, 2, 0, 0, 2], + vec![0, 0, 0, 1, 1, 2, 0, 2, 0, 2], + vec![0, 0, 0, 1, 1, 2, 0, 0, 2, 2], + vec![0, 0, 0, 1, 1, 0, 2, 2, 0, 2], + vec![0, 0, 0, 1, 1, 0, 2, 0, 2, 2], + vec![0, 0, 0, 1, 1, 0, 0, 2, 2, 2], + vec![0, 0, 0, 1, 0, 2, 2, 2, 0, 1], + vec![0, 0, 0, 1, 0, 2, 2, 1, 0, 2], + vec![0, 0, 0, 1, 0, 2, 2, 0, 2, 1], + vec![0, 0, 0, 1, 0, 2, 2, 0, 1, 2], + vec![0, 0, 0, 1, 0, 2, 1, 2, 0, 2], + vec![0, 0, 0, 1, 0, 2, 1, 0, 2, 2], + vec![0, 0, 0, 1, 0, 2, 0, 2, 2, 1], + vec![0, 0, 0, 1, 0, 2, 0, 2, 1, 2], + vec![0, 0, 0, 1, 0, 2, 0, 1, 2, 2], + vec![0, 0, 0, 1, 0, 1, 2, 2, 0, 2], + vec![0, 0, 0, 1, 0, 1, 2, 0, 2, 2], + vec![0, 0, 0, 1, 0, 1, 0, 2, 2, 2], + vec![0, 0, 0, 1, 0, 0, 2, 2, 2, 1], + vec![0, 0, 0, 1, 0, 0, 2, 2, 1, 2], + vec![0, 0, 0, 1, 0, 0, 2, 1, 2, 2], + vec![0, 0, 0, 1, 0, 0, 1, 2, 2, 2], + vec![0, 0, 0, 0, 2, 2, 2, 1, 0, 1], + vec![0, 0, 0, 0, 2, 2, 2, 0, 1, 1], + vec![0, 0, 0, 0, 2, 2, 1, 2, 0, 1], + vec![0, 0, 0, 0, 2, 2, 1, 1, 0, 2], + vec![0, 0, 0, 0, 2, 2, 1, 0, 2, 1], + vec![0, 0, 0, 0, 2, 2, 1, 0, 1, 2], + vec![0, 0, 0, 0, 2, 2, 0, 2, 1, 1], + vec![0, 0, 0, 0, 2, 2, 0, 1, 2, 1], + vec![0, 0, 0, 0, 2, 2, 0, 1, 1, 2], + vec![0, 0, 0, 0, 2, 1, 2, 2, 0, 1], + vec![0, 0, 0, 0, 2, 1, 2, 1, 0, 2], + vec![0, 0, 0, 0, 2, 1, 2, 0, 2, 1], + vec![0, 0, 0, 0, 2, 1, 2, 0, 1, 2], + vec![0, 0, 0, 0, 2, 1, 1, 2, 0, 2], + vec![0, 0, 0, 0, 2, 1, 1, 0, 2, 2], + vec![0, 0, 0, 0, 2, 1, 0, 2, 2, 1], + vec![0, 0, 0, 0, 2, 1, 0, 2, 1, 2], + vec![0, 0, 0, 0, 2, 1, 0, 1, 2, 2], + vec![0, 0, 0, 0, 2, 0, 2, 2, 1, 1], + vec![0, 0, 0, 0, 2, 0, 2, 1, 2, 1], + vec![0, 0, 0, 0, 2, 0, 2, 1, 1, 2], + vec![0, 0, 0, 0, 2, 0, 1, 2, 2, 1], + vec![0, 0, 0, 0, 2, 0, 1, 2, 1, 2], + vec![0, 0, 0, 0, 2, 0, 1, 1, 2, 2], + vec![0, 0, 0, 0, 1, 2, 2, 2, 0, 1], + vec![0, 0, 0, 0, 1, 2, 2, 1, 0, 2], + vec![0, 0, 0, 0, 1, 2, 2, 0, 2, 1], + vec![0, 0, 0, 0, 1, 2, 2, 0, 1, 2], + vec![0, 0, 0, 0, 1, 2, 1, 2, 0, 2], + vec![0, 0, 0, 0, 1, 2, 1, 0, 2, 2], + vec![0, 0, 0, 0, 1, 2, 0, 2, 2, 1], + vec![0, 0, 0, 0, 1, 2, 0, 2, 1, 2], + vec![0, 0, 0, 0, 1, 2, 0, 1, 2, 2], + vec![0, 0, 0, 0, 1, 1, 2, 2, 0, 2], + vec![0, 0, 0, 0, 1, 1, 2, 0, 2, 2], + vec![0, 0, 0, 0, 1, 1, 0, 2, 2, 2], + vec![0, 0, 0, 0, 1, 0, 2, 2, 2, 1], + vec![0, 0, 0, 0, 1, 0, 2, 2, 1, 2], + vec![0, 0, 0, 0, 1, 0, 2, 1, 2, 2], + vec![0, 0, 0, 0, 1, 0, 1, 2, 2, 2], + vec![0, 0, 0, 0, 0, 2, 2, 2, 1, 1], + vec![0, 0, 0, 0, 0, 2, 2, 1, 2, 1], + vec![0, 0, 0, 0, 0, 2, 2, 1, 1, 2], + vec![0, 0, 0, 0, 0, 2, 1, 2, 2, 1], + vec![0, 0, 0, 0, 0, 2, 1, 2, 1, 2], + vec![0, 0, 0, 0, 0, 2, 1, 1, 2, 2], + vec![0, 0, 0, 0, 0, 1, 2, 2, 2, 1], + vec![0, 0, 0, 0, 0, 1, 2, 2, 1, 2], + vec![0, 0, 0, 0, 0, 1, 2, 1, 2, 2], + vec![0, 0, 0, 0, 0, 1, 1, 2, 2, 2], + ]); assert_eq!(attempt, correct_set); } }