// File: /workspace/github_cpp_makefile_star2_O1/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 0x36cfd(%rip), %rbx     # 0x8b550
leaq 0x1d3b8(%rip), %rax     # 0x71c12
movq %rax, -0x98(%rbp)
leaq 0x1d3b8(%rip), %r13     # 0x71c20
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 0x1db37(%rip), %rsi     # 0x723f6
leaq -0x230(%rbp), %rdi
movl $0x1e, %edx
callq 0x5450
leaq 0x1d13a(%rip), %rsi     # 0x71a11
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 0x5491c
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 0x5495d
callq 0x5380
movq 0x36654(%rip), %rsi     # 0x8afb8
leaq -0x230(%rbp), %rdi
callq 0x51d0
leaq -0x1c0(%rbp), %rdi
callq 0x5110
movq 0x36bcd(%rip), %rbx     # 0x8b550
leaq 0x1d288(%rip), %rax     # 0x71c12
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 0x1da0e(%rip), %rsi     # 0x723f6
leaq -0x230(%rbp), %rdi
movl $0x1e, %edx
callq 0x5450
leaq 0x1d020(%rip), %rsi     # 0x71a20
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 0x54a41
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 0x54a82
callq 0x5380
movq 0x3652f(%rip), %rsi     # 0x8afb8
leaq -0x230(%rbp), %rdi
callq 0x51d0
leaq -0x1c0(%rbp), %rdi
callq 0x5110
movq 0x36aa8(%rip), %rbx     # 0x8b550
leaq 0x1d163(%rip), %rax     # 0x71c12
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 0x1d8ec(%rip), %rsi     # 0x723f6
leaq -0x230(%rbp), %rdi
movl $0x1e, %edx
callq 0x5450
leaq 0x1cf0e(%rip), %rsi     # 0x71a30
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 0x54b63
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 0x54ba1
callq 0x5380
movq 0x36410(%rip), %rsi     # 0x8afb8
leaq -0x230(%rbp), %rdi
callq 0x51d0
leaq -0x1c0(%rbp), %rdi
callq 0x5110
callq 0x54e34
movq 0x36984(%rip), %rbx     # 0x8b550
leaq 0x1d03f(%rip), %rax     # 0x71c12
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 0x1d7c8(%rip), %rsi     # 0x723f6
leaq -0x230(%rbp), %rdi
movl $0x1e, %edx
callq 0x5450
leaq 0x1cdf7(%rip), %rsi     # 0x71a3d
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 0x54c87
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 0x54cc5
callq 0x5380
movq 0x362ec(%rip), %rsi     # 0x8afb8
leaq -0x230(%rbp), %rdi
callq 0x51d0
leaq -0x1c0(%rbp), %rdi
callq 0x5110
movq 0x36865(%rip), %rbx     # 0x8b550
leaq 0x1cf20(%rip), %rax     # 0x71c12
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 0x1d6a9(%rip), %rsi     # 0x723f6
leaq -0x230(%rbp), %rdi
movl $0x1e, %edx
callq 0x5450
leaq 0x1cceb(%rip), %rsi     # 0x71a50
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 0x54da6
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 0x54de4
callq 0x5380
movq 0x361cd(%rip), %rsi     # 0x8afb8
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 0x54e1d
jmp 0x54e1d
jmp 0x54e1d
jmp 0x54e1d
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
callq 0x2e924
movq %rbx, %rdi
callq 0x56f0