// File: /workspace/github_cpp_makefile_star2_O2/chuckwolber[P]Cube/test/test_algorithm.cpp
// Function: test_skip()
void test_skip() {
    std::cout << "Testing skip... ";

    Algorithm alg;
    std::vector<Turn> results;
    std::vector<Turn> expected = {
        {Layer::F, true},  {Layer::D, false}, {Layer::F, true},  {Layer::U, true},
        {Layer::F, true},  {Layer::L, false}, {Layer::F, false}, {Layer::R, true},
        {Layer::F, false}, {Layer::B, false}, {Layer::U, true},  {Layer::D, true},
        {Layer::U, false}, {Layer::F, false}, {Layer::U, false}, {Layer::L, true},
        {Layer::R, true},  {Layer::U, false}, {Layer::R, true},  {Layer::B, true},
        {Layer::R, false}, {Layer::R, false}, {Layer::D, true},  {Layer::F, true},
        {Layer::D, true},  {Layer::D, false}, {Layer::D, false}, {Layer::U, true},
        {Layer::D, false}, {Layer::L, false}, {Layer::L, true},  {Layer::R, true},
        {Layer::L, true},  {Layer::B, false}, {Layer::L, false}, {Layer::D, true},
        {Layer::B, true},  {Layer::F, false}, {Layer::B, true},  {Layer::L, true},
        {Layer::B, false}, {Layer::U, false}, {Layer::B, false}, {Layer::B, true},
        {Layer::F, true},  {Layer::F, true},  {Layer::R, false}, {Layer::F, true},
        {Layer::F, false}, {Layer::F, true}
    };

    for (int i = 0; i < 25; i++) {
        for (Turn t : alg.getAlgorithm())
            results.push_back(t);
        alg += 7;
    }
    verify_turns(results, expected);

    std::cout << "Passed" << std::endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq 0x8b9b(%rip), %rdi      # 0xdfd8
leaq 0x3ff7(%rip), %rsi      # 0x943b
callq 0x2140
leaq 0x70(%rsp), %rdi
callq 0x231c
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
andq $0x0, 0x20(%rsp)
leaq 0x4694(%rip), %rsi      # 0x9afc
leaq 0x98(%rsp), %rbx
movl $0x190, %edx            # imm = 0x190
movq %rbx, %rdi
callq 0x2110
leaq 0x58(%rsp), %rdi
pushq $0x32
popq %rdx
leaq 0x8(%rsp), %rcx
movq %rbx, %rsi
callq 0x7e30
xorl %eax, %eax
leaq 0x98(%rsp), %rbx
leaq 0x70(%rsp), %r15
leaq 0x10(%rsp), %r12
leaq 0x8(%rsp), %r13
movl %eax, 0x4(%rsp)
cmpl $0x19, %eax
je 0x5514
movq %rbx, %r14
movq %rbx, %rdi
movq %r15, %rbp
movq %r15, %rsi
callq 0x2a0c
movq 0x98(%rsp), %r15
movq 0xa0(%rsp), %rbx
cmpq %rbx, %r15
je 0x54f3
movq (%r15), %rax
movq %rax, 0x8(%rsp)
movq %r12, %rdi
movq %r13, %rsi
callq 0x7e66
addq $0x8, %r15
jmp 0x54d5
movq %r14, %rbx
movq %r14, %rdi
callq 0x358c
movq %rbp, %r15
movq %rbp, %rdi
pushq $0x7
popq %rsi
callq 0x2740
movl 0x4(%rsp), %eax
incl %eax
jmp 0x54ab
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x3382
leaq 0x28(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x3382
leaq 0x40(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x7afb
leaq 0x28(%rsp), %rdi
callq 0x358c
leaq 0x40(%rsp), %rdi
callq 0x358c
movq 0x8a7c(%rip), %rdi      # 0xdfd8
leaq 0x3e07(%rip), %rsi      # 0x936a
callq 0x2140
movq %rax, %rdi
callq 0x20b0
leaq 0x58(%rsp), %rdi
callq 0x358c
leaq 0x10(%rsp), %rdi
callq 0x358c
leaq 0x70(%rsp), %rdi
callq 0x3558
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x358c
jmp 0x55b2
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
jmp 0x55d2
movq %rax, %rbx
jmp 0x55e1
jmp 0x55c2
jmp 0x55c2
movq %rax, %rbx
jmp 0x55d7
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0x358c
leaq 0x58(%rsp), %rdi
callq 0x358c
leaq 0x10(%rsp), %rdi
callq 0x358c
leaq 0x70(%rsp), %rdi
callq 0x3558
movq %rbx, %rdi
callq 0x21c0