// File: /workspace/github_cpp_makefile_star2_O2/aalto-speech[P]ftk/test/emtest.cc
// Function: TransitionForwardBackwardTest3::test_method()
BOOST_AUTO_TEST_CASE(TransitionForwardBackwardTest3)
{
    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("abc");
    FactorGraph fg(sentence, start_end, vocab, 1);
    transitions_t stats;
    flt_type lp = forward_backward(transitions, fg, stats);
    BOOST_CHECK_EQUAL(0, (int)stats.size());
    BOOST_CHECK_CLOSE( MIN_FLOAT, lp, DBL_ACCURACY );
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1e8, %rsp            # imm = 0x1E8
leaq -0xd8(%rbp), %rax
andl $0x0, (%rax)
andq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
andq $0x0, 0x20(%rax)
leaq 0x14915(%rip), %rsi     # 0x53f2c
leaq -0x60(%rbp), %rdi
leaq -0x158(%rbp), %rdx
callq 0x5160
leaq 0x30f5a(%rip), %rsi     # 0x70588
leaq -0x158(%rbp), %rdi
callq 0x54f0
leaq -0x138(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x54f0
leaq -0x188(%rbp), %rdi
leaq -0x158(%rbp), %rsi
pushq $0x2
popq %rdx
leaq -0xb0(%rbp), %rcx
leaq -0x80(%rbp), %r8
callq 0x4ed0a
pushq $0x20
popq %rbx
leaq (%rbx,%rbp), %rdi
addq $-0x158, %rdi           # imm = 0xFEA8
callq 0x57b8
addq $-0x20, %rbx
cmpq $-0x20, %rbx
jne 0x3f66e
leaq 0x30ef9(%rip), %rsi     # 0x70588
leaq -0xe0(%rbp), %rdi
callq 0x1b5f0
leaq -0x60(%rbp), %rsi
movq %rax, %rdi
callq 0x1b338
movabsq $-0x4010000000000000, %rbx # imm = 0xBFF0000000000000
movq %rbx, (%rax)
leaq -0xe0(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x1b5f0
leaq 0x30ebd(%rip), %rsi     # 0x70588
movq %rax, %rdi
callq 0x1b338
movq %rbx, (%rax)
leaq 0x1451a(%rip), %rsi     # 0x53bf7
leaq -0x80(%rbp), %rdi
leaq -0x158(%rbp), %rdx
callq 0x5160
leaq 0x30e94(%rip), %rdx     # 0x70588
leaq -0x158(%rbp), %rdi
leaq -0x80(%rbp), %rsi
leaq -0x188(%rbp), %rcx
pushq $0x1
popq %r8
xorl %r9d, %r9d
callq 0xf742
leaq -0xa8(%rbp), %rax
andl $0x0, (%rax)
andq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
andq $0x0, 0x20(%rax)
leaq -0xe0(%rbp), %rdi
leaq -0x158(%rbp), %rsi
leaq -0xb0(%rbp), %rdx
callq 0x18d71
movsd %xmm0, -0x40(%rbp)
movq 0x30dec(%rip), %rdi     # 0x70540
leaq 0x14425(%rip), %rbx     # 0x53b80
leaq -0x208(%rbp), %rsi
movq %rbx, (%rsi)
leaq 0x14422(%rip), %r14     # 0x53b8e
movq %r14, 0x8(%rsi)
leaq 0x1429e(%rip), %r12     # 0x53a15
leaq -0x1f8(%rbp), %rcx
movq %r12, (%rcx)
movq %r12, 0x8(%rcx)
movl $0x37d, %edx            # imm = 0x37D
callq 0x5710
leaq -0x1e8(%rbp), %rdi
movb $0x0, 0x8(%rdi)
leaq 0x3033f(%rip), %rax     # 0x6fae0
movq %rax, (%rdi)
movq 0x30805(%rip), %rax     # 0x6ffb0
movq %rax, 0x10(%rdi)
leaq 0x13ba1(%rip), %r13     # 0x53357
movq %r13, 0x18(%rdi)
leaq -0x1c8(%rbp), %rsi
movq %rbx, (%rsi)
leaq -0x38(%rbp), %r9
andl $0x0, (%r9)
movq %r14, 0x8(%rsi)
movl -0x88(%rbp), %eax
leaq -0x30(%rbp), %r15
movl %eax, (%r15)
subq $0x8, %rsp
leaq 0x1449e(%rip), %rax     # 0x53c86
leaq 0x15249(%rip), %r10     # 0x54a38
pushq $0x1
popq %rcx
pushq $0x2
popq %r8
movl $0x37d, %edx            # imm = 0x37D
pushq %rax
pushq %r15
pushq %r10
callq 0x4ea09
addq $0x20, %rsp
movq 0x30d30(%rip), %rdi     # 0x70540
leaq -0x1b8(%rbp), %rsi
movq %rbx, (%rsi)
movq %r14, 0x8(%rsi)
leaq -0x1a8(%rbp), %rcx
movq %r12, (%rcx)
movq %r12, 0x8(%rcx)
movl $0x37e, %edx            # imm = 0x37E
callq 0x5710
leaq -0x1e8(%rbp), %rdi
movb $0x0, 0x8(%rdi)
leaq 0x30298(%rip), %rax     # 0x6fae0
movq %rax, (%rdi)
movq 0x3075e(%rip), %rax     # 0x6ffb0
movq %rax, 0x10(%rdi)
movq %r13, 0x18(%rdi)
leaq -0x198(%rbp), %rsi
movq %rbx, (%rsi)
movq %r14, 0x8(%rsi)
movabsq $-0x10000000000001, %rax # imm = 0xFFEFFFFFFFFFFFFF
leaq -0x38(%rbp), %r9
movq %rax, (%r9)
movsd 0x30b7f(%rip), %xmm0    # 0x70400
movsd %xmm0, -0x30(%rbp)
subq $0x8, %rsp
leaq 0x1446c(%rip), %rax     # 0x53cfd
leaq 0x14ef6(%rip), %r10     # 0x5478e
leaq -0x40(%rbp), %r11
leaq 0x143f5(%rip), %rbx     # 0x53c98
pushq $0x1
popq %rcx
pushq $0x8
popq %r8
movl $0x37e, %edx            # imm = 0x37E
pushq %rax
pushq %r15
pushq %r10
pushq %r11
pushq %rbx
callq 0x4eaf1
addq $0x30, %rsp
leaq -0xb0(%rbp), %rdi
callq 0x1bb0c
leaq -0x158(%rbp), %rdi
callq 0x10c24
leaq -0x80(%rbp), %rdi
callq 0x57b8
leaq -0x188(%rbp), %rdi
callq 0x200e8
leaq -0x60(%rbp), %rdi
callq 0x57b8
leaq -0xe0(%rbp), %rdi
callq 0x1bb0c
addq $0x1e8, %rsp            # imm = 0x1E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3f95d
jmp 0x3f95d
movq %rax, %rbx
jmp 0x3f978
jmp 0x3f983
movq %rax, %rbx
pushq $0x20
popq %r14
leaq (%r14,%rbp), %rdi
addq $-0x158, %rdi           # imm = 0xFEA8
callq 0x57b8
addq $-0x20, %r14
cmpq $-0x20, %r14
jne 0x3f926
jmp 0x3f992
movq %rax, %rbx
leaq -0x158(%rbp), %rdi
callq 0x57b8
jmp 0x3f992
movq %rax, %rbx
jmp 0x3f992
movq %rax, %rbx
jmp 0x3f99b
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x1bb0c
leaq -0x158(%rbp), %rdi
callq 0x10c24
leaq -0x80(%rbp), %rdi
callq 0x57b8
jmp 0x3f986
movq %rax, %rbx
leaq -0x188(%rbp), %rdi
callq 0x200e8
leaq -0x60(%rbp), %rdi
callq 0x57b8
leaq -0xe0(%rbp), %rdi
callq 0x1bb0c
movq %rbx, %rdi
callq 0x56b0