// File: /workspace/github_cpp_makefile_star2_O2/mohaps[P]lrucache/LRUCacheTest.cpp
// Function: lru::test()
void test()
	{
		lru::Cache<String, String> cache(3,0);
		cache.insert("hello", "world");
		cache.insert("foo", "bar");
		cache.dumpDebug(std::cout<<"--> After 2 inserts"<<std::endl);
		
		std::cout<<"checking refresh : "<<cache.get("hello")<<std::endl;
		cache.dumpDebug(std::cout<<"--> After refeshing oldest key"<<std::endl);
		
		cache.insert("hello1", "world1");
		cache.insert("foo1", "bar1");
		cache.dumpDebug(std::cout<<"--> After adding two more"<<std::endl);
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0xb8, %rsp
leaq 0x4909(%rip), %rax      # 0x6c68
leaq -0xa8(%rbp), %rcx
movq %rax, -0x18(%rcx)
leaq 0x4927(%rip), %rax      # 0x6c98
movq %rax, -0x10(%rcx)
andl $0x0, (%rcx)
andq $0x0, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
andq $0x0, 0x20(%rcx)
leaq 0x495f(%rip), %rax      # 0x6cf0
movq %rax, 0x28(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 0x30(%rcx)
andq $0x0, 0x40(%rcx)
movq $0x3, 0x48(%rcx)
andq $0x0, 0x50(%rcx)
leaq 0x1c4f(%rip), %rsi      # 0x4004
leaq -0x30(%rbp), %rdi
leaq -0xa(%rbp), %rdx
callq 0x271e
leaq 0x1c41(%rip), %rsi      # 0x400a
leaq -0x50(%rbp), %rdi
leaq -0x9(%rbp), %rdx
callq 0x271e
leaq -0xc0(%rbp), %rdi
leaq -0x30(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0x2628
leaq -0x50(%rbp), %rdi
callq 0x2090
leaq -0x30(%rbp), %rdi
callq 0x2090
leaq 0x1c0d(%rip), %rsi      # 0x4010
leaq -0x30(%rbp), %rdi
leaq -0xa(%rbp), %rdx
callq 0x271e
leaq 0x1bfd(%rip), %rsi      # 0x4014
leaq -0x50(%rbp), %rdi
leaq -0x9(%rbp), %rdx
callq 0x271e
leaq -0xc0(%rbp), %rdi
leaq -0x30(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0x2628
leaq -0x50(%rbp), %rdi
callq 0x2090
leaq -0x30(%rbp), %rdi
callq 0x2090
movq 0x4b7f(%rip), %rdi      # 0x6fd0
leaq 0x1bc0(%rip), %rsi      # 0x4018
callq 0x2150
movq %rax, %rdi
callq 0x20a0
leaq -0xc0(%rbp), %rdi
movq %rax, %rsi
callq 0x275a
movq 0x4b55(%rip), %rdi      # 0x6fd0
leaq 0x1baa(%rip), %rsi      # 0x402c
callq 0x2150
movq %rax, %rbx
leaq 0x1b73(%rip), %rsi      # 0x4004
leaq -0x30(%rbp), %rdi
leaq -0x50(%rbp), %rdx
callq 0x271e
leaq -0xc0(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x282c
movq %rbx, %rdi
movq %rax, %rsi
callq 0x2140
movq %rax, %rdi
callq 0x20a0
leaq -0x30(%rbp), %rdi
callq 0x2090
movq 0x4aff(%rip), %rdi      # 0x6fd0
leaq 0x1b68(%rip), %rsi      # 0x4040
callq 0x2150
movq %rax, %rdi
callq 0x20a0
leaq -0xc0(%rbp), %rdi
movq %rax, %rsi
callq 0x275a
leaq 0x1b64(%rip), %rsi      # 0x405f
leaq -0x30(%rbp), %rdi
leaq -0xa(%rbp), %rdx
callq 0x271e
leaq 0x1b57(%rip), %rsi      # 0x4066
leaq -0x50(%rbp), %rdi
leaq -0x9(%rbp), %rdx
callq 0x271e
leaq -0xc0(%rbp), %rdi
leaq -0x30(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0x2628
leaq -0x50(%rbp), %rdi
callq 0x2090
leaq -0x30(%rbp), %rdi
callq 0x2090
leaq 0x1b24(%rip), %rsi      # 0x406d
leaq -0x30(%rbp), %rdi
leaq -0xa(%rbp), %rdx
callq 0x271e
leaq 0x1b15(%rip), %rsi      # 0x4072
leaq -0x50(%rbp), %rdi
leaq -0x9(%rbp), %rdx
callq 0x271e
leaq -0xc0(%rbp), %rdi
leaq -0x30(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0x2628
leaq -0x50(%rbp), %rdi
callq 0x2090
leaq -0x30(%rbp), %rdi
callq 0x2090
movq 0x4a39(%rip), %rdi      # 0x6fd0
leaq 0x1ad9(%rip), %rsi      # 0x4077
callq 0x2150
movq %rax, %rdi
callq 0x20a0
leaq -0xc0(%rbp), %rdi
movq %rax, %rsi
callq 0x275a
leaq -0xc0(%rbp), %rdi
callq 0x28e4
addq $0xb8, %rsp
popq %rbx
popq %rbp
retq
jmp 0x25e4
jmp 0x25f6
jmp 0x2604
jmp 0x25e4
jmp 0x25f6
jmp 0x2604
jmp 0x2604
jmp 0x25e4
jmp 0x25f6
jmp 0x2604
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x2090
jmp 0x25f9
jmp 0x25f6
jmp 0x2604
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0x2090
jmp 0x2607
movq %rax, %rbx
leaq -0xc0(%rbp), %rdi
callq 0x28e4
movq %rbx, %rdi
callq 0x21f0