// File: /workspace/github_cpp_makefile_star2_O3/aalto-speech[P]ftk/test/emtest.cc
// Function: TransitionForwardBackwardTest5_invoker()
BOOST_AUTO_TEST_CASE(TransitionForwardBackwardTest5)
{
    transitions_t transitions;
    string str1("a");
    set<string> vocab = {start_end,str1};
    transitions[start_end][str1] = -1.0;
    transitions[str1][start_end] = -1.0;
    string sentence("a");
    FactorGraph fg(sentence, start_end, vocab, 1);
    transitions_t stats;
    flt_type lp = forward_backward(transitions, fg, stats);
    BOOST_CHECK_EQUAL(2, (int)stats.size());
    BOOST_CHECK_EQUAL( 1.0, stats[start_end][str1] );
    BOOST_CHECK_EQUAL( 1.0, stats[str1][start_end] );
    BOOST_CHECK_CLOSE( -2.0, lp, DBL_ACCURACY );
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq 0x36021(%rip), %rbx     # 0x8a550
leaq 0x1c70c(%rip), %rax     # 0x70c42
movq %rax, -0x98(%rbp)
leaq 0x1c70c(%rip), %r13     # 0x70c50
movq %r13, -0x90(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x51f0
movq %r14, %rdi
callq 0x5500
leaq -0xa8(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x5450
leaq 0x1ce8b(%rip), %rsi     # 0x71426
leaq -0x230(%rbp), %rdi
movl $0x1e, %edx
callq 0x5450
leaq 0x1c46e(%rip), %rsi     # 0x70a21
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x5450
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x55f0
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x5480
movq (%r14), %rdi
leaq -0x38(%rbp), %r12
cmpq %r12, %rdi
je 0x545f8
callq 0x5380
movq -0xb8(%rbp), %rax
leaq -0x280(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x98(%rbp), %rsi
movl $0x392, %edx            # imm = 0x392
movq %rbx, %rdi
callq 0x5760
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x54639
callq 0x5380
movq 0x35978(%rip), %rsi     # 0x89fb8
leaq -0x230(%rbp), %rdi
callq 0x51d0
leaq -0x1c0(%rbp), %rdi
callq 0x5110
movq 0x35ef1(%rip), %rbx     # 0x8a550
leaq 0x1c5dc(%rip), %rax     # 0x70c42
movq %rax, -0x88(%rbp)
movq %r13, -0x80(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x51f0
movq %r14, %rdi
callq 0x5500
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x5450
leaq 0x1cd62(%rip), %rsi     # 0x71426
leaq -0x230(%rbp), %rdi
movl $0x1e, %edx
callq 0x5450
leaq 0x1c354(%rip), %rsi     # 0x70a30
leaq -0x230(%rbp), %rdi
movl $0xf, %edx
callq 0x5450
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x55f0
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x5480
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x5471d
callq 0x5380
movq -0xb8(%rbp), %rax
leaq -0x270(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x88(%rbp), %rsi
movl $0x392, %edx            # imm = 0x392
movq %rbx, %rdi
callq 0x5760
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x5475e
callq 0x5380
movq 0x35853(%rip), %rsi     # 0x89fb8
leaq -0x230(%rbp), %rdi
callq 0x51d0
leaq -0x1c0(%rbp), %rdi
callq 0x5110
movq 0x35dcc(%rip), %rbx     # 0x8a550
leaq 0x1c4b7(%rip), %rax     # 0x70c42
movq %rax, -0x78(%rbp)
movq %r13, -0x70(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x51f0
movq %r14, %rdi
callq 0x5500
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x5450
leaq 0x1cc40(%rip), %rsi     # 0x71426
leaq -0x230(%rbp), %rdi
movl $0x1e, %edx
callq 0x5450
leaq 0x1c242(%rip), %rsi     # 0x70a40
leaq -0x230(%rbp), %rdi
movl $0xc, %edx
callq 0x5450
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x55f0
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x5480
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x5483f
callq 0x5380
movq -0xb8(%rbp), %rax
leaq -0x260(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x78(%rbp), %rsi
movl $0x392, %edx            # imm = 0x392
movq %rbx, %rdi
callq 0x5760
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x5487d
callq 0x5380
movq 0x35734(%rip), %rsi     # 0x89fb8
leaq -0x230(%rbp), %rdi
callq 0x51d0
leaq -0x1c0(%rbp), %rdi
callq 0x5110
callq 0x54b10
movq 0x35ca8(%rip), %rbx     # 0x8a550
leaq 0x1c393(%rip), %rax     # 0x70c42
movq %rax, -0x68(%rbp)
movq %r13, -0x60(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x51f0
movq %r14, %rdi
callq 0x5500
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x5450
leaq 0x1cb1c(%rip), %rsi     # 0x71426
leaq -0x230(%rbp), %rdi
movl $0x1e, %edx
callq 0x5450
leaq 0x1c12b(%rip), %rsi     # 0x70a4d
leaq -0x230(%rbp), %rdi
movl $0x12, %edx
callq 0x5450
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x55f0
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x5480
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x54963
callq 0x5380
movq -0xb8(%rbp), %rax
leaq -0x250(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x68(%rbp), %rsi
movl $0x392, %edx            # imm = 0x392
movq %rbx, %rdi
callq 0x5760
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x549a1
callq 0x5380
movq 0x35610(%rip), %rsi     # 0x89fb8
leaq -0x230(%rbp), %rdi
callq 0x51d0
leaq -0x1c0(%rbp), %rdi
callq 0x5110
movq 0x35b89(%rip), %rbx     # 0x8a550
leaq 0x1c274(%rip), %rax     # 0x70c42
movq %rax, -0x58(%rbp)
movq %r13, -0x50(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x51f0
movq %r14, %rdi
callq 0x5500
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x5450
leaq 0x1c9fd(%rip), %rsi     # 0x71426
leaq -0x230(%rbp), %rdi
movl $0x1e, %edx
callq 0x5450
leaq 0x1c01f(%rip), %rsi     # 0x70a60
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x5450
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x55f0
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x5480
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x54a82
callq 0x5380
movq -0xb8(%rbp), %rax
leaq -0x240(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x58(%rbp), %rsi
movl $0x392, %edx            # imm = 0x392
movq %rbx, %rdi
callq 0x5760
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x54ac0
callq 0x5380
movq 0x354f1(%rip), %rsi     # 0x89fb8
leaq -0x230(%rbp), %rdi
callq 0x51d0
leaq -0x1c0(%rbp), %rdi
callq 0x5110
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x54af9
jmp 0x54af9
jmp 0x54af9
jmp 0x54af9
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
callq 0x2e7c2
movq %rbx, %rdi
callq 0x56f0