// File: cjc12[P]ezSTL/src/../include/test.h
// Function: ezSTL::test::test_stack()
void test::test_stack() {
		srand((unsigned int)time(NULL));
		start_info("stack");
		stack<int> s;
		print_stack(s);
		test_info("stack   push");
		for (int i = 0; i < 5; ++i) {
			s.push(rand());
			print_stack(s);
		}
		test_info("stack   pop");
		for (int i = 0; i < 5; ++i) {
			s.pop();
			print_stack(s);
		}
		finish_info("stack");
		continue_next_test();
	}

// Assembly:
subq $0xf8, %rsp
xorl %eax, %eax
movl %eax, %edi
callq 0x21f0
movl %eax, %edi
callq 0x2210
leaq 0xd7(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x2330
movq 0x28(%rsp), %rdx
leaq 0x21e77(%rip), %rsi     # 0x2632c
leaq 0xd8(%rsp), %rdi
callq 0x2290
jmp 0x44c4
leaq 0xd8(%rsp), %rdi
callq 0x24e0
jmp 0x44d3
leaq 0xd8(%rsp), %rdi
callq 0x2130
leaq 0xd7(%rsp), %rdi
callq 0x2260
leaq 0xb0(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0xc820
movq 0x20(%rsp), %rdi
callq 0xc830
jmp 0x450b
leaq 0x8f(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x2330
movq 0x18(%rsp), %rdx
leaq 0x21e09(%rip), %rsi     # 0x26332
leaq 0x90(%rsp), %rdi
callq 0x2290
jmp 0x4538
leaq 0x90(%rsp), %rdi
callq 0x2730
jmp 0x4547
leaq 0x90(%rsp), %rdi
callq 0x2130
leaq 0x8f(%rsp), %rdi
callq 0x2260
movl $0x0, 0x88(%rsp)
cmpl $0x5, 0x88(%rsp)
jge 0x466c
callq 0x2060
movl %eax, 0x84(%rsp)
leaq 0xb0(%rsp), %rdi
leaq 0x84(%rsp), %rsi
callq 0xc8f0
jmp 0x459d
leaq 0xb0(%rsp), %rdi
callq 0xc830
jmp 0x45ac
jmp 0x45ae
movl 0x88(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x88(%rsp)
jmp 0x456c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
jmp 0x45f8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
leaq 0xd8(%rsp), %rdi
callq 0x2130
leaq 0xd7(%rsp), %rdi
callq 0x2260
jmp 0x47e0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
jmp 0x47d3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
jmp 0x465a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
leaq 0x90(%rsp), %rdi
callq 0x2130
leaq 0x8f(%rsp), %rdi
callq 0x2260
jmp 0x47d3
leaq 0x5f(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x2330
movq 0x10(%rsp), %rdx
leaq 0x21cb8(%rip), %rsi     # 0x2633f
leaq 0x60(%rsp), %rdi
callq 0x2290
jmp 0x4693
leaq 0x60(%rsp), %rdi
callq 0x2730
jmp 0x469f
leaq 0x60(%rsp), %rdi
callq 0x2130
leaq 0x5f(%rsp), %rdi
callq 0x2260
movl $0x0, 0x58(%rsp)
cmpl $0x5, 0x58(%rsp)
jge 0x4732
leaq 0xb0(%rsp), %rdi
callq 0xc920
jmp 0x46d1
leaq 0xb0(%rsp), %rdi
callq 0xc830
jmp 0x46e0
jmp 0x46e2
movl 0x58(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x58(%rsp)
jmp 0x46bb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
jmp 0x4723
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
leaq 0x60(%rsp), %rdi
callq 0x2130
leaq 0x5f(%rsp), %rdi
callq 0x2260
jmp 0x47d3
leaq 0x37(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x2330
movq 0x8(%rsp), %rdx
leaq 0x21bdf(%rip), %rsi     # 0x2632c
leaq 0x38(%rsp), %rdi
callq 0x2290
jmp 0x4759
leaq 0x38(%rsp), %rdi
callq 0x26d0
jmp 0x4765
leaq 0x38(%rsp), %rdi
callq 0x2130
leaq 0x37(%rsp), %rdi
callq 0x2260
callq 0x2780
jmp 0x4780
leaq 0xb0(%rsp), %rdi
callq 0xc930
addq $0xf8, %rsp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
jmp 0x47c9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
leaq 0x38(%rsp), %rdi
callq 0x2130
leaq 0x37(%rsp), %rdi
callq 0x2260
leaq 0xb0(%rsp), %rdi
callq 0xc930
movq 0xc8(%rsp), %rdi
callq 0x2320
nopl (%rax)