// File: /workspace/github_cpp_makefile_star2_O2/aalto-speech[P]ftk/test/emtest.cc
// Function: FactorGraphTest1::test_method()
BOOST_AUTO_TEST_CASE(FactorGraphTest1)
{
    map<std::string, flt_type> vocab;
    vocab.insert(make_pair("hal", 0.0));
    vocab.insert(make_pair("halojaa", 0.0));
    vocab.insert(make_pair("ojaa", 0.0));
    vocab.insert(make_pair("jaa", 0.0));

    FactorGraph fg("halojaa", start_end, vocab, 7);
    BOOST_CHECK_EQUAL(5, (int)fg.nodes.size());

    StringSet ssvocab(vocab);
    FactorGraph ssfg("halojaa", start_end, ssvocab);
    BOOST_CHECK(fg.assert_equal(ssfg));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x300, %rsp            # imm = 0x300
leaq -0x68(%rbp), %rax
andl $0x0, (%rax)
andq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
andq $0x0, 0x20(%rax)
leaq 0x21abe(%rip), %rax     # 0x53f22
leaq -0x308(%rbp), %rsi
movq %rax, (%rsi)
andq $0x0, 0x8(%rsi)
leaq -0x70(%rbp), %rdi
callq 0x4f7f4
leaq 0x21aa3(%rip), %rax     # 0x53f26
leaq -0x308(%rbp), %rsi
movq %rax, (%rsi)
andq $0x0, 0x8(%rsi)
leaq -0x70(%rbp), %rdi
callq 0x4f7f4
leaq 0x21a87(%rip), %rax     # 0x53f29
leaq -0x308(%rbp), %rsi
movq %rax, (%rsi)
andq $0x0, 0x8(%rsi)
leaq -0x70(%rbp), %rdi
callq 0x4f7f4
leaq 0x21a69(%rip), %rax     # 0x53f2a
leaq -0x308(%rbp), %rsi
movq %rax, (%rsi)
andq $0x0, 0x8(%rsi)
leaq -0x70(%rbp), %rdi
callq 0x4f7f4
leaq 0x21a46(%rip), %rsi     # 0x53f26
leaq -0x308(%rbp), %rdi
leaq -0x170(%rbp), %rdx
callq 0x5160
leaq 0x3e08e(%rip), %rdx     # 0x70588
leaq -0x1e8(%rbp), %rdi
leaq -0x308(%rbp), %rsi
leaq -0x70(%rbp), %rcx
pushq $0x7
popq %r8
xorl %r9d, %r9d
callq 0xf5e4
leaq -0x308(%rbp), %rdi
callq 0x57b8
movq 0x3e015(%rip), %rdi     # 0x70540
leaq 0x2164e(%rip), %rbx     # 0x53b80
leaq -0xf8(%rbp), %rsi
movq %rbx, (%rsi)
leaq 0x2164b(%rip), %r14     # 0x53b8e
movq %r14, 0x8(%rsi)
leaq 0x214c7(%rip), %r12     # 0x53a15
leaq -0xe8(%rbp), %rcx
movq %r12, (%rcx)
movq %r12, 0x8(%rcx)
movl $0x183, %edx            # imm = 0x183
callq 0x5710
leaq -0x308(%rbp), %rdi
movb $0x0, 0x8(%rdi)
leaq 0x3d568(%rip), %rax     # 0x6fae0
movq %rax, (%rdi)
movq 0x3da2e(%rip), %r15     # 0x6ffb0
movq %r15, 0x10(%rdi)
leaq 0x20dca(%rip), %rax     # 0x53357
movq %rax, 0x18(%rdi)
leaq -0xd8(%rbp), %rsi
movq %rbx, (%rsi)
movq %r14, 0x8(%rsi)
leaq -0x170(%rbp), %r9
movq -0x1a0(%rbp), %rax
subq -0x1a8(%rbp), %rax
movl $0x5, (%r9)
pushq $0x38
popq %rcx
cqto
idivq %rcx
leaq -0x40(%rbp), %rcx
movl %eax, (%rcx)
leaq 0x2195e(%rip), %rax     # 0x53f2e
movq %rax, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
leaq 0x21804(%rip), %rax     # 0x53de5
movq %rax, (%rsp)
pushq $0x1
popq %rcx
pushq $0x2
popq %r8
movl $0x183, %edx            # imm = 0x183
callq 0x4ea09
leaq -0x308(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0xdbec
leaq 0x21919(%rip), %rsi     # 0x53f26
leaq -0x40(%rbp), %rdi
leaq -0x88(%rbp), %rdx
callq 0x5160
leaq 0x3df64(%rip), %rdx     # 0x70588
leaq -0x170(%rbp), %rdi
leaq -0x40(%rbp), %rsi
leaq -0x308(%rbp), %rcx
xorl %r8d, %r8d
callq 0xf8a0
leaq -0x40(%rbp), %rdi
callq 0x57b8
movq 0x3def2(%rip), %rdi     # 0x70540
leaq -0xc8(%rbp), %rsi
movq %rbx, (%rsi)
movq %r14, 0x8(%rsi)
leaq -0xb8(%rbp), %rcx
movq %r12, (%rcx)
movq %r12, 0x8(%rcx)
movl $0x187, %edx            # imm = 0x187
callq 0x5710
leaq -0x1e8(%rbp), %rdi
leaq -0x170(%rbp), %rsi
callq 0x1043c
leaq -0x88(%rbp), %rdi
movb %al, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
leaq 0x218a5(%rip), %rax     # 0x53f43
leaq -0xa8(%rbp), %rcx
movq %rax, (%rcx)
leaq 0x218a9(%rip), %rax     # 0x53f58
movq %rax, 0x8(%rcx)
leaq -0x40(%rbp), %rsi
movb $0x0, 0x8(%rsi)
leaq 0x3d4ae(%rip), %rax     # 0x6fb70
movq %rax, (%rsi)
movq %r15, 0x10(%rsi)
movq %rcx, 0x18(%rsi)
leaq -0x98(%rbp), %rdx
movq %rbx, (%rdx)
movq %r14, 0x8(%rdx)
andq $0x0, (%rsp)
pushq $0x1
popq %r8
movl $0x187, %ecx            # imm = 0x187
xorl %r9d, %r9d
xorl %eax, %eax
callq 0x56f0
leaq -0x78(%rbp), %rdi
callq 0x291f6
leaq -0x170(%rbp), %rdi
callq 0x10c24
leaq -0x308(%rbp), %rdi
callq 0xdea0
leaq -0x1e8(%rbp), %rdi
callq 0x10c24
leaq -0x70(%rbp), %rdi
callq 0x1bba4
addq $0x300, %rsp            # imm = 0x300
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x78(%rbp), %rdi
callq 0x291f6
jmp 0x3274c
jmp 0x32749
movq %rax, %rbx
leaq -0x170(%rbp), %rdi
callq 0x10c24
jmp 0x3276b
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x57b8
jmp 0x3276b
movq %rax, %rbx
leaq -0x308(%rbp), %rdi
callq 0xdea0
jmp 0x32780
jmp 0x3277d
jmp 0x3277d
movq %rax, %rbx
leaq -0x1e8(%rbp), %rdi
callq 0x10c24
jmp 0x327aa
movq %rax, %rbx
leaq -0x308(%rbp), %rdi
callq 0x57b8
jmp 0x327aa
jmp 0x327a7
jmp 0x327a7
jmp 0x327a7
jmp 0x327a7
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x1bba4
movq %rbx, %rdi
callq 0x56b0