// File: /workspace/github_cpp_makefile_star2_O2/kulpreet[P]lightning-network-graph-analysis/src/readgraph_test.cpp
// Function: Degrees::degrees::test_method()
BOOST_AUTO_TEST_CASE(degrees) {
  vector<Degree> expected_in = boost::assign::list_of(1)(1)(2);
  vector<Degree> expected_out = boost::assign::list_of(2)(1)(1);
  vector<Degree> expected_total = boost::assign::list_of(3)(2)(3);

  vector<Degree> in_degrees, out_degrees, degrees;
  get_degrees(in_degrees, out_degrees, degrees, g);
  BOOST_TEST(in_degrees == expected_in, tt::per_element());
  BOOST_TEST(out_degrees == expected_out, tt::per_element());
  BOOST_TEST(degrees == expected_total, tt::per_element());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1e8, %rsp            # imm = 0x1E8
movq %rdi, %r14
pushq $0x1
popq %rbp
leaq 0x28(%rsp), %rsi
movl %ebp, (%rsi)
leaq 0x68(%rsp), %rbx
movq %rbx, %rdi
callq 0x9816
leaq 0x108(%rsp), %rsi
movl %ebp, (%rsi)
movq %rbx, %rdi
callq 0xedce
leaq 0xb8(%rsp), %rsi
movl $0x2, (%rsi)
leaq 0x68(%rsp), %rdi
callq 0xedce
leaq 0x140(%rsp), %r15
leaq 0x68(%rsp), %rsi
movq %r15, %rdi
callq 0xf028
leaq 0x68(%rsp), %rdi
callq 0xa11c
leaq 0x28(%rsp), %rsi
movl $0x2, (%rsi)
leaq 0x68(%rsp), %rdi
callq 0x9816
leaq 0xb8(%rsp), %rsi
movl $0x1, (%rsi)
leaq 0x68(%rsp), %rdi
callq 0xedce
leaq 0xf0(%rsp), %rsi
movl $0x1, (%rsi)
leaq 0x68(%rsp), %rdi
callq 0xedce
leaq 0x108(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0xf028
leaq 0x68(%rsp), %rdi
callq 0xa11c
leaq 0x28(%rsp), %rbx
movl $0x3, (%rbx)
leaq 0x68(%rsp), %rdi
movq %rbx, %rsi
callq 0x9816
leaq 0xf0(%rsp), %rsi
movl $0x2, (%rsi)
leaq 0x68(%rsp), %rdi
callq 0xedce
leaq 0xd0(%rsp), %rsi
movl $0x3, (%rsi)
leaq 0x68(%rsp), %rdi
callq 0xedce
leaq 0xb8(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0xf028
leaq 0x68(%rsp), %rdi
callq 0xa11c
leaq 0xf0(%rsp), %r13
andq $0x0, 0x10(%r13)
xorps %xmm0, %xmm0
movaps %xmm0, (%r13)
leaq 0xd0(%rsp), %rsi
movaps %xmm0, (%rsi)
andq $0x0, 0x10(%rsi)
leaq 0x120(%rsp), %rdx
movaps %xmm0, (%rdx)
andq $0x0, 0x10(%rdx)
movq %r13, %rdi
movq %r14, %rcx
callq 0x85ac
movq 0x21428(%rip), %rdi     # 0x2a368
leaq 0x1027a(%rip), %rax     # 0x191c1
leaq 0x1d8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x1027e(%rip), %rax     # 0x191d7
movq %rax, 0x8(%rsi)
leaq 0x11293(%rip), %rbp     # 0x1a1f7
leaq 0x1c8(%rsp), %rcx
movq %rbp, (%rcx)
movq %rbp, 0x8(%rcx)
pushq $0x38
popq %rdx
callq 0x7570
leaq 0x58(%rsp), %rax
movq %r13, (%rax)
movq %r15, 0x8(%rax)
leaq 0x70(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, 0x8(%r14)
movq %r14, (%r14)
andq $0x0, 0x10(%r14)
movb $0x1, 0x18(%r14)
leaq 0x10(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x984e
leaq 0x10229(%rip), %rax     # 0x191e0
leaq 0x48(%rsp), %rcx
movq %rax, (%rcx)
leaq 0x10233(%rip), %rax     # 0x191f9
movq %rax, 0x8(%rcx)
movb $0x0, 0x30(%rsp)
leaq 0x1fb4a(%rip), %rax     # 0x28b20
movq %rax, 0x28(%rsp)
movq 0x20fbe(%rip), %r13     # 0x29fa0
cmpb $0x0, 0x8(%r13)
movq %r13, 0x38(%rsp)
movq %r13, %rsi
cmovneq %rbx, %rsi
movq %rcx, 0x40(%rsp)
leaq 0x1b8(%rsp), %rdx
leaq 0x101ba(%rip), %r15     # 0x191c1
movq %r15, (%rdx)
leaq 0x101c6(%rip), %r12     # 0x191d7
movq %r12, 0x8(%rdx)
andq $0x0, (%rsp)
leaq 0x10(%rsp), %rdi
pushq $0x38
popq %rcx
pushq $0x1
popq %r8
pushq $0xe
popq %r9
xorl %eax, %eax
callq 0x7550
leaq 0x20(%rsp), %rdi
callq 0xa174
movq %r14, %rdi
callq 0xa1ae
movq 0x2131e(%rip), %rdi     # 0x2a368
leaq 0x1a8(%rsp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
leaq 0x198(%rsp), %rcx
movq %rbp, (%rcx)
movq %rbp, 0x8(%rcx)
pushq $0x39
popq %rdx
callq 0x7570
leaq 0x108(%rsp), %rax
leaq 0xd0(%rsp), %rcx
movq %rcx, 0x58(%rsp)
movq %rax, 0x60(%rsp)
leaq 0x68(%rsp), %rsi
leaq 0x58(%rsp), %rax
movq %rax, (%rsi)
movq %r14, 0x10(%rsi)
movq %r14, 0x8(%rsi)
andq $0x0, 0x18(%rsi)
movb $0x1, 0x20(%rsi)
leaq 0x10(%rsp), %rdi
callq 0x984e
leaq 0x10141(%rip), %rax     # 0x191fa
movq %rax, 0x48(%rsp)
leaq 0x10150(%rip), %rax     # 0x19215
movq %rax, 0x50(%rsp)
movb $0x0, 0x30(%rsp)
leaq 0x1fa4a(%rip), %rax     # 0x28b20
movq %rax, 0x28(%rsp)
cmpb $0x0, 0x8(%r13)
movq %r13, 0x38(%rsp)
movq %r13, %rsi
cmovneq %rbx, %rsi
leaq 0x48(%rsp), %rax
movq %rax, 0x40(%rsp)
leaq 0x188(%rsp), %rdx
leaq 0x100bc(%rip), %r15     # 0x191c1
movq %r15, (%rdx)
movq %r12, 0x8(%rdx)
andq $0x0, (%rsp)
leaq 0x10(%rsp), %rdi
pushq $0x39
popq %rcx
pushq $0x1
popq %r8
pushq $0xe
popq %r9
xorl %eax, %eax
callq 0x7550
leaq 0x20(%rsp), %rdi
callq 0xa174
movq %r14, %rdi
callq 0xa1ae
movq 0x21227(%rip), %rdi     # 0x2a368
leaq 0x178(%rsp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
leaq 0x168(%rsp), %rcx
movq %rbp, (%rcx)
movq %rbp, 0x8(%rcx)
pushq $0x3a
popq %rdx
callq 0x7570
leaq 0x120(%rsp), %rax
movq %rax, 0x58(%rsp)
leaq 0xb8(%rsp), %rax
movq %rax, 0x60(%rsp)
leaq 0x68(%rsp), %rsi
leaq 0x58(%rsp), %rax
movq %rax, (%rsi)
movq %r14, 0x10(%rsi)
movq %r14, 0x8(%rsi)
andq $0x0, 0x18(%rsi)
movb $0x1, 0x20(%rsi)
leaq 0x10(%rsp), %rdi
callq 0x984e
leaq 0x10066(%rip), %rax     # 0x19216
movq %rax, 0x48(%rsp)
leaq 0x10073(%rip), %rax     # 0x1922f
movq %rax, 0x50(%rsp)
movb $0x0, 0x30(%rsp)
leaq 0x1f953(%rip), %rax     # 0x28b20
movq %rax, 0x28(%rsp)
movq %r13, 0x38(%rsp)
cmpb $0x0, 0x8(%r13)
cmoveq %r13, %rbx
leaq 0x48(%rsp), %rax
movq %rax, 0x40(%rsp)
leaq 0x158(%rsp), %rdx
leaq 0xffc8(%rip), %rax      # 0x191c1
movq %rax, (%rdx)
movq %r12, 0x8(%rdx)
andq $0x0, (%rsp)
leaq 0x10(%rsp), %rdi
pushq $0x3a
popq %rcx
pushq $0x1
popq %r8
pushq $0xe
popq %r9
movq %rbx, %rsi
xorl %eax, %eax
callq 0x7550
leaq 0x20(%rsp), %rdi
callq 0xa174
movq %r14, %rdi
callq 0xa1ae
leaq 0x120(%rsp), %rdi
callq 0xa284
leaq 0xd0(%rsp), %rdi
callq 0xa284
leaq 0xf0(%rsp), %rdi
callq 0xa284
leaq 0xb8(%rsp), %rdi
callq 0xa284
leaq 0x108(%rsp), %rdi
callq 0xa284
leaq 0x140(%rsp), %rdi
callq 0xa284
addq $0x1e8, %rsp            # imm = 0x1E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9299
jmp 0x92a8
jmp 0x9299
jmp 0x92a8
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0xa174
jmp 0x92ab
movq %rax, %rbx
movq %r14, %rdi
callq 0xa1ae
jmp 0x92f5
jmp 0x92c5
movq %rax, %rbx
jmp 0x9329
jmp 0x92d4
movq %rax, %rbx
jmp 0x9336
jmp 0x92e3
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0xa11c
jmp 0x9329
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0xa11c
jmp 0x9336
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0xa11c
jmp 0x9343
movq %rax, %rbx
leaq 0x120(%rsp), %rdi
callq 0xa284
leaq 0xd0(%rsp), %rdi
callq 0xa284
leaq 0xf0(%rsp), %rdi
callq 0xa284
leaq 0xb8(%rsp), %rdi
callq 0xa284
leaq 0x108(%rsp), %rdi
callq 0xa284
leaq 0x140(%rsp), %rdi
callq 0xa284
movq %rbx, %rdi
callq 0x7500
nop