// File: /workspace/github_cpp_makefile_star2_O1/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 0x14de0
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x167d6
leaq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x167d6
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x12724
callq 0x35d6
leaq 0x8(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x168c7
movl %eax, %ebx
testb %al, %al
je 0x1276d
movq 0x15890(%rip), %r14     # 0x27fd0
leaq 0xb329(%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 0x12846
movq 0x1585c(%rip), %r14     # 0x27fd0
leaq 0xb300(%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 0x1582a(%rip), %rdi     # 0x27fd0
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq 0x15816(%rip), %rdi     # 0x27fd0
leaq 0xb2c7(%rip), %rsi      # 0x1da88
movl $0xc, %edx
callq 0x21a0
movq 0x157fe(%rip), %rdi     # 0x27fd0
leaq 0x38(%rsp), %rsi
callq 0x14e31
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 0x157c3(%rip), %rdi     # 0x27fd0
leaq 0xb281(%rip), %rsi      # 0x1da95
movl $0xc, %edx
callq 0x21a0
movq 0x157ab(%rip), %rdi     # 0x27fd0
leaq 0x8(%rsp), %rsi
callq 0x14e31
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 0x12868
callq 0x35d6
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x12877
callq 0x35d6
movl %ebx, %eax
addq $0x88, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x50(%rsp), %rdi
jmp 0x128b5
jmp 0x128a8
jmp 0x128a8
jmp 0x128a8
jmp 0x128a8
jmp 0x128a8
jmp 0x128a8
jmp 0x128a8
jmp 0x128a8
jmp 0x128a8
jmp 0x128a8
jmp 0x128a8
jmp 0x128a8
jmp 0x128a8
movq %rax, %rbx
jmp 0x128bf
movq %rax, %rbx
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x128bf
callq 0x35d6
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x128ce
callq 0x35d6
movq %rbx, %rdi
callq 0x2250