// File: /workspace/github_cpp_makefile_star2_O1/ambersun1234[P]AVL_Tree/./src/unit_test.cpp
// Function: nodeTest_getMaxHeight_Test::TestBody()
TEST_F( nodeTest , getMaxHeight ) {
	EXPECT_EQ( node_1->getMaxHeight() , 1 );
	EXPECT_EQ( node_2->getMaxHeight() , 1 );

	node_1->setLeftChild( node_int_children_1 );
	node_1->setRightChild( node_int_children_2 );
	node_2->setLeftChild( node_double_children_2 );

	EXPECT_EQ( node_1->getMaxHeight() , 2 );
	EXPECT_EQ( node_2->getMaxHeight() , 2 );

	node_2->setLeftChild( nullptr );
	EXPECT_EQ( node_2->getMaxHeight() , 1 );
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rdx
movq 0x8(%rdx), %rsi
xorl %eax, %eax
movl $0x0, %ecx
testq %rsi, %rsi
je 0x9ea9
movl 0x18(%rsi), %ecx
movq 0x10(%rdx), %rdx
testq %rdx, %rdx
je 0x9eb5
movl 0x18(%rdx), %eax
cmpl %eax, %ecx
cmovgl %ecx, %eax
incl %eax
leaq 0x8(%rsp), %rcx
movl %eax, (%rcx)
leaq 0x10(%rsp), %r8
movl $0x1, (%r8)
leaq 0x2a32e(%rip), %rsi     # 0x34204
leaq 0x2a576(%rip), %rdx     # 0x34453
leaq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0xcb9b
cmpb $0x0, (%r14)
jne 0x9f77
leaq 0x8(%rsp), %rdi
callq 0x11254
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x9f0d
movq (%rax), %r8
jmp 0x9f14
leaq 0x2c4f3(%rip), %r8      # 0x36407
leaq 0x2a116(%rip), %rdx     # 0x34031
leaq 0x10(%rsp), %rdi
movl $0x1, %esi
movl $0x50, %ecx
callq 0xea10
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xeaae
leaq 0x10(%rsp), %rdi
callq 0xea7c
cmpq $0x0, 0x8(%rsp)
je 0x9f77
movl $0x1, %edi
callq 0xea0c
testb %al, %al
je 0x9f6e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x9f6e
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x20(%rsp), %rdi
xorl %r14d, %r14d
xorl %esi, %esi
callq 0xc33c
movq 0x30(%rbx), %rax
movq 0x8(%rax), %rcx
testq %rcx, %rcx
je 0x9f97
movl 0x18(%rcx), %r14d
movq 0x10(%rax), %rax
testq %rax, %rax
je 0x9fa5
movl 0x18(%rax), %eax
jmp 0x9fa7
xorl %eax, %eax
cmpl %eax, %r14d
cmovgl %r14d, %eax
incl %eax
leaq 0x8(%rsp), %rcx
movl %eax, (%rcx)
leaq 0x10(%rsp), %r8
movl $0x1, (%r8)
leaq 0x2a251(%rip), %rsi     # 0x3421b
leaq 0x2a482(%rip), %rdx     # 0x34453
leaq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0xcb9b
cmpb $0x0, (%r14)
jne 0xa06b
leaq 0x8(%rsp), %rdi
callq 0x11254
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0xa001
movq (%rax), %r8
jmp 0xa008
leaq 0x2c3ff(%rip), %r8      # 0x36407
leaq 0x2a022(%rip), %rdx     # 0x34031
leaq 0x10(%rsp), %rdi
movl $0x1, %esi
movl $0x51, %ecx
callq 0xea10
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xeaae
leaq 0x10(%rsp), %rdi
callq 0xea7c
cmpq $0x0, 0x8(%rsp)
je 0xa06b
movl $0x1, %edi
callq 0xea0c
testb %al, %al
je 0xa062
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xa062
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x20(%rsp), %rdi
xorl %r14d, %r14d
xorl %esi, %esi
callq 0xc33c
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rax
movq %rax, 0x8(%rcx)
movq 0x20(%rbx), %rax
movq %rax, 0x10(%rcx)
movq 0x30(%rbx), %rdx
movq 0x40(%rbx), %rsi
movq %rsi, 0x8(%rdx)
movq 0x8(%rcx), %rcx
testq %rcx, %rcx
je 0xa0a7
movl 0x18(%rcx), %r14d
testq %rax, %rax
je 0xa0b1
movl 0x18(%rax), %eax
jmp 0xa0b3
xorl %eax, %eax
cmpl %eax, %r14d
cmovgl %r14d, %eax
incl %eax
leaq 0x8(%rsp), %rcx
movl %eax, (%rcx)
leaq 0x10(%rsp), %r8
movl $0x2, (%r8)
leaq 0x2a12e(%rip), %rsi     # 0x34204
leaq 0x29fbc(%rip), %rdx     # 0x34099
leaq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0xcb9b
cmpb $0x0, (%r14)
jne 0xa177
leaq 0x8(%rsp), %rdi
callq 0x11254
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0xa10d
movq (%rax), %r8
jmp 0xa114
leaq 0x2c2f3(%rip), %r8      # 0x36407
leaq 0x29f16(%rip), %rdx     # 0x34031
leaq 0x10(%rsp), %rdi
movl $0x1, %esi
movl $0x57, %ecx
callq 0xea10
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xeaae
leaq 0x10(%rsp), %rdi
callq 0xea7c
cmpq $0x0, 0x8(%rsp)
je 0xa177
movl $0x1, %edi
callq 0xea0c
testb %al, %al
je 0xa16e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xa16e
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x20(%rsp), %rdi
xorl %r14d, %r14d
xorl %esi, %esi
callq 0xc33c
movq 0x30(%rbx), %rax
movq 0x8(%rax), %rcx
testq %rcx, %rcx
je 0xa197
movl 0x18(%rcx), %r14d
movq 0x10(%rax), %rax
testq %rax, %rax
je 0xa1a5
movl 0x18(%rax), %eax
jmp 0xa1a7
xorl %eax, %eax
cmpl %eax, %r14d
cmovgl %r14d, %eax
incl %eax
leaq 0x8(%rsp), %rcx
movl %eax, (%rcx)
leaq 0x10(%rsp), %r8
movl $0x2, (%r8)
leaq 0x2a051(%rip), %rsi     # 0x3421b
leaq 0x29ec8(%rip), %rdx     # 0x34099
leaq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0xcb9b
cmpb $0x0, (%r14)
jne 0xa26b
leaq 0x8(%rsp), %rdi
callq 0x11254
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0xa201
movq (%rax), %r8
jmp 0xa208
leaq 0x2c1ff(%rip), %r8      # 0x36407
leaq 0x29e22(%rip), %rdx     # 0x34031
leaq 0x10(%rsp), %rdi
movl $0x1, %esi
movl $0x58, %ecx
callq 0xea10
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xeaae
leaq 0x10(%rsp), %rdi
callq 0xea7c
cmpq $0x0, 0x8(%rsp)
je 0xa26b
movl $0x1, %edi
callq 0xea0c
testb %al, %al
je 0xa262
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xa262
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x20(%rsp), %rdi
xorl %r14d, %r14d
xorl %esi, %esi
callq 0xc33c
movq 0x30(%rbx), %rax
movq $0x0, 0x8(%rax)
movq 0x8(%rax), %rcx
testq %rcx, %rcx
je 0xa293
movl 0x18(%rcx), %r14d
movq 0x10(%rax), %rax
testq %rax, %rax
je 0xa2a1
movl 0x18(%rax), %eax
jmp 0xa2a3
xorl %eax, %eax
cmpl %eax, %r14d
cmovgl %r14d, %eax
incl %eax
leaq 0x8(%rsp), %rcx
movl %eax, (%rcx)
leaq 0x10(%rsp), %r8
movl $0x1, (%r8)
leaq 0x29f55(%rip), %rsi     # 0x3421b
leaq 0x2a186(%rip), %rdx     # 0x34453
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0xcb9b
cmpb $0x0, (%rbx)
jne 0xa366
leaq 0x8(%rsp), %rdi
callq 0x11254
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0xa2fc
movq (%rax), %r8
jmp 0xa303
leaq 0x2c104(%rip), %r8      # 0x36407
leaq 0x29d27(%rip), %rdx     # 0x34031
leaq 0x10(%rsp), %rdi
movl $0x1, %esi
movl $0x5b, %ecx
callq 0xea10
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xeaae
leaq 0x10(%rsp), %rdi
callq 0xea7c
cmpq $0x0, 0x8(%rsp)
je 0xa366
movl $0x1, %edi
callq 0xea0c
testb %al, %al
je 0xa35d
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xa35d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0xc33c
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0xa3d7
jmp 0xa3d7
jmp 0xa3d7
jmp 0xa3d7
jmp 0xa3d7
jmp 0xa39c
jmp 0xa3ab
jmp 0xa3ba
jmp 0xa39c
jmp 0xa3ab
jmp 0xa3ba
jmp 0xa39c
jmp 0xa3ab
jmp 0xa3ba
jmp 0xa39c
jmp 0xa3ab
jmp 0xa3ba
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xea7c
jmp 0xa3ae
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xbda2
jmp 0xa3bd
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xbdb4
movq %rbx, %rdi
callq 0x7960
jmp 0xa3d7
jmp 0xa3d7
jmp 0xa3d7
jmp 0xa3d7
movq %rax, %rdi
callq 0xc14c
nop