// File: /workspace/github_cpp_makefile_star2_O3/grame-cncm[P]digraph/tests.cpp
// Function: check10()
bool check10()
{
    digraph<char, int> g;
    g.add('A', 'B', 0)
        .add('B', 'C', 1)
        .add('C', 'A', 0)
        .add('D', 'B', 0)
        .add('D', 'C', 0)
        .add('D', 'E', 1)
        .add('E', 'D', 0)
        .add('E', 'F', 0)
        .add('F', 'G', 0)
        .add('G', 'F', 1)
        .add('H', 'G', 0)
        .add('H', 'E', 0)
        .add('H', 'H', 1);

    digraph<char, int> r = reverse(reverse(g));
    if (equiv(g, r)) {
        std::cout << "test10 OK " << std::endl;
        return true;
    } else {
        std::cout << "test10 FAIL " << std::endl;
        std::cout << "We got      " << r << std::endl;
        std::cout << "Instead of  " << g << std::endl;
        return false;
    }
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x88, %rsp
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x14ee8
leaq 0x37(%rsp), %rsi
movb $0x41, (%rsi)
leaq 0x36(%rsp), %rdx
movb $0x42, (%rdx)
leaq 0x38(%rsp), %rcx
movl $0x0, (%rcx)
movq (%rbx), %rdi
callq 0x1781e
leaq 0x35(%rsp), %rsi
movb $0x42, (%rsi)
leaq 0x34(%rsp), %rdx
movb $0x43, (%rdx)
leaq 0x48(%rsp), %rcx
movl $0x1, (%rcx)
movq 0x8(%rsp), %rdi
callq 0x1781e
leaq 0x33(%rsp), %rsi
movb $0x43, (%rsi)
leaq 0x32(%rsp), %rdx
movb $0x41, (%rdx)
leaq 0x84(%rsp), %rcx
movl $0x0, (%rcx)
movq 0x8(%rsp), %rdi
callq 0x1781e
leaq 0x31(%rsp), %rsi
movb $0x44, (%rsi)
leaq 0x30(%rsp), %rdx
movb $0x42, (%rdx)
leaq 0x80(%rsp), %rcx
movl $0x0, (%rcx)
movq 0x8(%rsp), %rdi
callq 0x1781e
leaq 0x2f(%rsp), %rsi
movb $0x44, (%rsi)
leaq 0x2e(%rsp), %rdx
movb $0x43, (%rdx)
leaq 0x7c(%rsp), %rcx
movl $0x0, (%rcx)
movq 0x8(%rsp), %rdi
callq 0x1781e
leaq 0x2d(%rsp), %rsi
movb $0x44, (%rsi)
leaq 0x2c(%rsp), %rdx
movb $0x45, (%rdx)
leaq 0x78(%rsp), %rcx
movl $0x1, (%rcx)
movq 0x8(%rsp), %rdi
callq 0x1781e
leaq 0x2b(%rsp), %rsi
movb $0x45, (%rsi)
leaq 0x2a(%rsp), %rdx
movb $0x44, (%rdx)
leaq 0x74(%rsp), %rcx
movl $0x0, (%rcx)
movq 0x8(%rsp), %rdi
callq 0x1781e
leaq 0x29(%rsp), %rsi
movb $0x45, (%rsi)
leaq 0x28(%rsp), %rdx
movb $0x46, (%rdx)
leaq 0x70(%rsp), %rcx
movl $0x0, (%rcx)
movq 0x8(%rsp), %rdi
callq 0x1781e
leaq 0x27(%rsp), %rsi
movb $0x46, (%rsi)
leaq 0x26(%rsp), %rdx
movb $0x47, (%rdx)
leaq 0x6c(%rsp), %rcx
movl $0x0, (%rcx)
movq 0x8(%rsp), %rdi
callq 0x1781e
leaq 0x25(%rsp), %rsi
movb $0x47, (%rsi)
leaq 0x24(%rsp), %rdx
movb $0x46, (%rdx)
leaq 0x68(%rsp), %rcx
movl $0x1, (%rcx)
movq 0x8(%rsp), %rdi
callq 0x1781e
leaq 0x23(%rsp), %rsi
movb $0x48, (%rsi)
leaq 0x22(%rsp), %rdx
movb $0x47, (%rdx)
leaq 0x64(%rsp), %rcx
movl $0x0, (%rcx)
movq 0x8(%rsp), %rdi
callq 0x1781e
leaq 0x21(%rsp), %rsi
movb $0x48, (%rsi)
leaq 0x20(%rsp), %rdx
movb $0x45, (%rdx)
leaq 0x60(%rsp), %rcx
movl $0x0, (%rcx)
movq 0x8(%rsp), %rdi
callq 0x1781e
movb $0x48, %al
leaq 0x1f(%rsp), %rsi
movb %al, (%rsi)
leaq 0x1e(%rsp), %rdx
movb %al, (%rdx)
leaq 0x5c(%rsp), %rcx
movl $0x1, (%rcx)
movq 0x8(%rsp), %rdi
callq 0x1781e
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x168e4
leaq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x168e4
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x1255a
callq 0x3504
leaq 0x8(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x169d5
movl %eax, %ebx
testb %al, %al
je 0x125a3
movq 0x15a5a(%rip), %r14     # 0x27fd0
leaq 0xb4f3(%rip), %rsi      # 0x1da70
movl $0xa, %edx
movq %r14, %rdi
callq 0x21a0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
jmp 0x1267c
movq 0x15a26(%rip), %r14     # 0x27fd0
leaq 0xb4ca(%rip), %rsi      # 0x1da7b
movl $0xc, %edx
movq %r14, %rdi
callq 0x21a0
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq 0x159f4(%rip), %rdi     # 0x27fd0
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq 0x159e0(%rip), %rdi     # 0x27fd0
leaq 0xb491(%rip), %rsi      # 0x1da88
movl $0xc, %edx
callq 0x21a0
movq 0x159c8(%rip), %rdi     # 0x27fd0
leaq 0x38(%rsp), %rsi
callq 0x14f39
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq 0x1598d(%rip), %rdi     # 0x27fd0
leaq 0xb44b(%rip), %rsi      # 0x1da95
movl $0xc, %edx
callq 0x21a0
movq 0x15975(%rip), %rdi     # 0x27fd0
leaq 0x8(%rsp), %rsi
callq 0x14f39
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x1269e
callq 0x3504
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x126ad
callq 0x3504
movl %ebx, %eax
addq $0x88, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x50(%rsp), %rdi
jmp 0x126eb
jmp 0x126de
jmp 0x126de
jmp 0x126de
jmp 0x126de
jmp 0x126de
jmp 0x126de
jmp 0x126de
jmp 0x126de
jmp 0x126de
jmp 0x126de
jmp 0x126de
jmp 0x126de
jmp 0x126de
movq %rax, %rbx
jmp 0x126f5
movq %rax, %rbx
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x126f5
callq 0x3504
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x12704
callq 0x3504
movq %rbx, %rdi
callq 0x2250