// File: cjc12[P]ezSTL/src/../include/test.h
// Function: ezSTL::test::test_smart_pointers()
void test::test_smart_pointers() {
		start_info("shared_ptr:");
		shared_ptr<int> sh1(new int(8));
		print_shared_ptr(sh1);
		{
			test_info("shared_ptr   copy constructor");
			shared_ptr<int> sh2(sh1);
			print_shared_ptr(sh1);
			print_shared_ptr(sh2);
			shared_ptr<int> sh3(sh2);
			print_shared_ptr(sh1);
			print_shared_ptr(sh2);
			print_shared_ptr(sh3);
		}
		print_shared_ptr(sh1);
		shared_ptr<int> sh4;
		test_info("shared_ptr   copy assignment opeartor");
		sh4 = sh1;
		print_shared_ptr(sh1);
		print_shared_ptr(sh4);
		finish_info("shared_ptr");

		start_info("unique_ptr:");
		test_info("unique_ptr   constructor");
		unique_ptr<int> un1(new int(8));
		print_unique_ptr(un1);
		test_info("unique_ptr   move copy constructor");
		unique_ptr<int> un2(ezSTL::move(un1));
		print_unique_ptr(un1);
		print_unique_ptr(un2);
		finish_info("unique_ptr");

		start_info("weak_ptr:");
		test_info("weak_ptr   constructor");
		weak_ptr<int> we1(sh1);
		print_weak_ptr(we1);
		print_shared_ptr(sh1);
		{
			test_info("weak_ptr   lock");
			shared_ptr<int> sh = we1.lock();
			print_weak_ptr(we1);
			print_shared_ptr(sh);
		}
		print_weak_ptr(we1);
		test_info("weak_ptr   reset");
		we1.reset();
		print_weak_ptr(we1);
		finish_info("weak_ptr");
		continue_next_test();
	}

// Assembly:
subq $0x308, %rsp            # imm = 0x308
leaq 0x2e7(%rsp), %rdi
movq %rdi, 0x78(%rsp)
callq 0x2330
movq 0x78(%rsp), %rdx
leaq 0x1f6e3(%rip), %rsi     # 0x26578
leaq 0x2e8(%rsp), %rdi
callq 0x2290
jmp 0x6ea4
leaq 0x2e8(%rsp), %rdi
callq 0x24e0
jmp 0x6eb3
leaq 0x2e8(%rsp), %rdi
callq 0x2130
leaq 0x2e7(%rsp), %rdi
callq 0x2260
movl $0x4, %edi
callq 0x2230
movq %rax, %rsi
movl $0x8, (%rsi)
leaq 0x2c0(%rsp), %rdi
movq %rdi, 0x70(%rsp)
callq 0xeaa0
movq 0x70(%rsp), %rdi
callq 0xeaf0
jmp 0x6efe
leaq 0x29f(%rsp), %rdi
movq %rdi, 0x68(%rsp)
callq 0x2330
movq 0x68(%rsp), %rdx
leaq 0x1f668(%rip), %rsi     # 0x26584
leaq 0x2a0(%rsp), %rdi
callq 0x2290
jmp 0x6f2b
leaq 0x2a0(%rsp), %rdi
callq 0x2730
jmp 0x6f3a
leaq 0x2a0(%rsp), %rdi
callq 0x2130
leaq 0x29f(%rsp), %rdi
callq 0x2260
leaq 0x288(%rsp), %rdi
leaq 0x2c0(%rsp), %rsi
callq 0xebd0
jmp 0x6f6b
leaq 0x2c0(%rsp), %rdi
callq 0xeaf0
jmp 0x6f7a
leaq 0x288(%rsp), %rdi
callq 0xeaf0
jmp 0x6f89
leaq 0x278(%rsp), %rdi
leaq 0x288(%rsp), %rsi
callq 0xebd0
jmp 0x6fa0
leaq 0x2c0(%rsp), %rdi
callq 0xeaf0
jmp 0x6faf
leaq 0x288(%rsp), %rdi
callq 0xeaf0
jmp 0x6fbe
leaq 0x278(%rsp), %rdi
callq 0xeaf0
jmp 0x6fcd
leaq 0x278(%rsp), %rdi
callq 0xec10
leaq 0x288(%rsp), %rdi
callq 0xec10
leaq 0x2c0(%rsp), %rdi
callq 0xeaf0
jmp 0x6ff6
leaq 0x268(%rsp), %rdi
callq 0xeca0
jmp 0x7005
leaq 0x247(%rsp), %rdi
movq %rdi, 0x60(%rsp)
callq 0x2330
movq 0x60(%rsp), %rdx
leaq 0x1f57f(%rip), %rsi     # 0x265a2
leaq 0x248(%rsp), %rdi
callq 0x2290
jmp 0x7032
leaq 0x248(%rsp), %rdi
callq 0x2730
jmp 0x7041
leaq 0x248(%rsp), %rdi
callq 0x2130
leaq 0x247(%rsp), %rdi
callq 0x2260
leaq 0x268(%rsp), %rdi
leaq 0x2c0(%rsp), %rsi
callq 0xecc0
jmp 0x7072
leaq 0x2c0(%rsp), %rdi
callq 0xeaf0
jmp 0x7081
leaq 0x268(%rsp), %rdi
callq 0xeaf0
jmp 0x7090
leaq 0x21f(%rsp), %rdi
movq %rdi, 0x58(%rsp)
callq 0x2330
movq 0x58(%rsp), %rdx
leaq 0x1f51a(%rip), %rsi     # 0x265c8
leaq 0x220(%rsp), %rdi
callq 0x2290
jmp 0x70bd
leaq 0x220(%rsp), %rdi
callq 0x26d0
jmp 0x70cc
leaq 0x220(%rsp), %rdi
callq 0x2130
leaq 0x21f(%rsp), %rdi
callq 0x2260
leaq 0x1f7(%rsp), %rdi
movq %rdi, 0x50(%rsp)
callq 0x2330
movq 0x50(%rsp), %rdx
leaq 0x1f4cf(%rip), %rsi     # 0x265d3
leaq 0x1f8(%rsp), %rdi
callq 0x2290
jmp 0x7113
leaq 0x1f8(%rsp), %rdi
callq 0x24e0
jmp 0x7122
leaq 0x1f8(%rsp), %rdi
callq 0x2130
leaq 0x1f7(%rsp), %rdi
callq 0x2260
leaq 0x1cf(%rsp), %rdi
movq %rdi, 0x48(%rsp)
callq 0x2330
movq 0x48(%rsp), %rdx
leaq 0x1f485(%rip), %rsi     # 0x265df
leaq 0x1d0(%rsp), %rdi
callq 0x2290
jmp 0x7169
leaq 0x1d0(%rsp), %rdi
callq 0x2730
jmp 0x7178
leaq 0x1d0(%rsp), %rdi
callq 0x2130
leaq 0x1cf(%rsp), %rdi
callq 0x2260
movl $0x4, %edi
callq 0x2230
movq %rax, 0x40(%rsp)
jmp 0x71a3
movq 0x40(%rsp), %rsi
movl $0x8, (%rsi)
leaq 0x1c0(%rsp), %rdi
callq 0xed90
jmp 0x71bd
leaq 0x1c0(%rsp), %rdi
callq 0xedb0
jmp 0x71cc
leaq 0x19f(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x2330
movq 0x38(%rsp), %rdx
leaq 0x1f40e(%rip), %rsi     # 0x265f8
leaq 0x1a0(%rsp), %rdi
callq 0x2290
jmp 0x71f9
leaq 0x1a0(%rsp), %rdi
callq 0x2730
jmp 0x7208
leaq 0x1a0(%rsp), %rdi
callq 0x2130
leaq 0x19f(%rsp), %rdi
callq 0x2260
leaq 0x1c0(%rsp), %rdi
movq %rdi, 0x30(%rsp)
callq 0xee30
movq %rax, %rsi
leaq 0x190(%rsp), %rdi
callq 0xee40
movq 0x30(%rsp), %rdi
callq 0xedb0
jmp 0x7250
leaq 0x190(%rsp), %rdi
callq 0xedb0
jmp 0x725f
leaq 0x16f(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x2330
movq 0x28(%rsp), %rdx
leaq 0x1f39e(%rip), %rsi     # 0x2661b
leaq 0x170(%rsp), %rdi
callq 0x2290
jmp 0x728c
leaq 0x170(%rsp), %rdi
callq 0x26d0
jmp 0x729b
leaq 0x170(%rsp), %rdi
callq 0x2130
leaq 0x16f(%rsp), %rdi
callq 0x2260
leaq 0x147(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x2330
movq 0x20(%rsp), %rdx
leaq 0x1f353(%rip), %rsi     # 0x26626
leaq 0x148(%rsp), %rdi
callq 0x2290
jmp 0x72e2
leaq 0x148(%rsp), %rdi
callq 0x24e0
jmp 0x72f1
leaq 0x148(%rsp), %rdi
callq 0x2130
leaq 0x147(%rsp), %rdi
callq 0x2260
leaq 0x11f(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x2330
movq 0x18(%rsp), %rdx
leaq 0x1f307(%rip), %rsi     # 0x26630
leaq 0x120(%rsp), %rdi
callq 0x2290
jmp 0x7338
leaq 0x120(%rsp), %rdi
callq 0x2730
jmp 0x7347
leaq 0x120(%rsp), %rdi
callq 0x2130
leaq 0x11f(%rsp), %rdi
callq 0x2260
leaq 0x108(%rsp), %rdi
leaq 0x2c0(%rsp), %rsi
callq 0xee70
jmp 0x7378
leaq 0x108(%rsp), %rdi
callq 0xeea0
jmp 0x7387
leaq 0x2c0(%rsp), %rdi
callq 0xeaf0
jmp 0x7396
leaq 0xe7(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x2330
movq 0x10(%rsp), %rdx
leaq 0x1f293(%rip), %rsi     # 0x26647
leaq 0xe8(%rsp), %rdi
callq 0x2290
jmp 0x73c3
leaq 0xe8(%rsp), %rdi
callq 0x2730
jmp 0x73d2
leaq 0xe8(%rsp), %rdi
callq 0x2130
leaq 0xe7(%rsp), %rdi
callq 0x2260
leaq 0xd0(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0xef50
jmp 0x7403
leaq 0x108(%rsp), %rdi
callq 0xeea0
jmp 0x7412
leaq 0xd0(%rsp), %rdi
callq 0xeaf0
jmp 0x7421
leaq 0xd0(%rsp), %rdi
callq 0xec10
leaq 0x108(%rsp), %rdi
callq 0xeea0
jmp 0x743d
leaq 0xaf(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x2330
movq 0x8(%rsp), %rdx
leaq 0x1f1fc(%rip), %rsi     # 0x26657
leaq 0xb0(%rsp), %rdi
callq 0x2290
jmp 0x746a
leaq 0xb0(%rsp), %rdi
callq 0x2730
jmp 0x7479
leaq 0xb0(%rsp), %rdi
callq 0x2130
leaq 0xaf(%rsp), %rdi
callq 0x2260
leaq 0x108(%rsp), %rdi
callq 0xef80
jmp 0x74a2
leaq 0x108(%rsp), %rdi
callq 0xeea0
jmp 0x74b1
leaq 0x87(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x2330
movq (%rsp), %rdx
leaq 0x1f19b(%rip), %rsi     # 0x26668
leaq 0x88(%rsp), %rdi
callq 0x2290
jmp 0x74dc
leaq 0x88(%rsp), %rdi
callq 0x26d0
jmp 0x74eb
leaq 0x88(%rsp), %rdi
callq 0x2130
leaq 0x87(%rsp), %rdi
callq 0x2260
callq 0x2780
jmp 0x750c
leaq 0x190(%rsp), %rdi
callq 0xefa0
leaq 0x1c0(%rsp), %rdi
callq 0xefa0
leaq 0x268(%rsp), %rdi
callq 0xec10
leaq 0x2c0(%rsp), %rdi
callq 0xec10
addq $0x308, %rsp            # imm = 0x308
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x757f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x2e8(%rsp), %rdi
callq 0x2130
leaq 0x2e7(%rsp), %rdi
callq 0x2260
jmp 0x79fc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x79ef
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x75e1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x2a0(%rsp), %rdi
callq 0x2130
leaq 0x29f(%rsp), %rdi
callq 0x2260
jmp 0x79ef
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x762a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x278(%rsp), %rdi
callq 0xec10
leaq 0x288(%rsp), %rdi
callq 0xec10
jmp 0x79ef
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x7673
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x248(%rsp), %rdi
callq 0x2130
leaq 0x247(%rsp), %rdi
callq 0x2260
jmp 0x79e2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x79e2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x76d5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x220(%rsp), %rdi
callq 0x2130
leaq 0x21f(%rsp), %rdi
callq 0x2260
jmp 0x79e2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x771e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x1f8(%rsp), %rdi
callq 0x2130
leaq 0x1f7(%rsp), %rdi
callq 0x2260
jmp 0x79e2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x7767
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x1d0(%rsp), %rdi
callq 0x2130
leaq 0x1cf(%rsp), %rdi
callq 0x2260
jmp 0x79e2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x79d5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x77c9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x1a0(%rsp), %rdi
callq 0x2130
leaq 0x19f(%rsp), %rdi
callq 0x2260
jmp 0x79d5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x79c8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x782b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x170(%rsp), %rdi
callq 0x2130
leaq 0x16f(%rsp), %rdi
callq 0x2260
jmp 0x79c8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x7874
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x148(%rsp), %rdi
callq 0x2130
leaq 0x147(%rsp), %rdi
callq 0x2260
jmp 0x79c8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x78bd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x120(%rsp), %rdi
callq 0x2130
leaq 0x11f(%rsp), %rdi
callq 0x2260
jmp 0x79c8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x7906
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0xe8(%rsp), %rdi
callq 0x2130
leaq 0xe7(%rsp), %rdi
callq 0x2260
jmp 0x79c8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0xd0(%rsp), %rdi
callq 0xec10
jmp 0x79c8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x7975
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0xb0(%rsp), %rdi
callq 0x2130
leaq 0xaf(%rsp), %rdi
callq 0x2260
jmp 0x79c8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x79bb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x88(%rsp), %rdi
callq 0x2130
leaq 0x87(%rsp), %rdi
callq 0x2260
leaq 0x190(%rsp), %rdi
callq 0xefa0
leaq 0x1c0(%rsp), %rdi
callq 0xefa0
leaq 0x268(%rsp), %rdi
callq 0xec10
leaq 0x2c0(%rsp), %rdi
callq 0xec10
movq 0x2d8(%rsp), %rdi
callq 0x2320
nopl (%rax)