Skip to content

Commit

Permalink
FREEZE.indexed
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Aug 23, 2023
1 parent ac259e3 commit 8609b92
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions examples/test-cpp_port.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,14 @@ fn test_unpacked(num_moves: usize) {
for i in 0..num_moves {
state = state.apply_transformation(&move_transformations[i % 18]);
}
assert_eq!(
state,
kpuzzle
.start_state()
.apply_alg(&parse_alg!("U2 F2 L2 U2 D2 F2 R2 F2 R'").unwrap())
.unwrap()
);
// Only works for a million
// assert_eq!(
// state,
// kpuzzle
// .start_state()
// .apply_alg(&parse_alg!("U2 F2 L2 U2 D2 F2 R2 F2 R'").unwrap())
// .unwrap()
// );
let duration = start.elapsed();
println!(
"Time elapsed for {} moves (unpacked): {:?}",
Expand Down

0 comments on commit 8609b92

Please sign in to comment.