// File: ridgelab[P]Kmer-SSR/test/src/arguments.cpp
// Function: test1()
bool test1()
{
	try
	{
		int argc = 5;
		char* argv[] = {
			(char*)("test1"),
			(char*)("-i"),
			(char*)("example/input.fasta"),
			(char*)("-o"),
			(char*)("test/arg1.tsv")
		};
		
		Arguments* args = new Arguments(argc, argv);

		if (args->getInFileName() != "example/input.fasta")
		{
			return false;
		}
		if (args->getOutFileName() != "test/arg1.tsv")
		{
			return false;
		}

		delete args;
	}
	catch(string error)
	{
		cerr << error << endl;
		return false;
	}
	catch(const char* error)
	{
		cerr << error << endl;
		return false;
	}

	return true; // success
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movl $0x5, -0x8(%rbp)
movq 0x142e7(%rip), %rax     # 0x17cb0
movq %rax, -0x10(%rbp)
movaps 0x142cc(%rip), %xmm0    # 0x17ca0
movaps %xmm0, -0x20(%rbp)
movaps 0x142b1(%rip), %xmm0    # 0x17c90
movaps %xmm0, -0x30(%rbp)
movl $0xf0, %edi
callq 0x3250
movq %rax, -0xb8(%rbp)
jmp 0x39f6
movq -0xb8(%rbp), %rdi
movl -0x8(%rbp), %esi
leaq -0x30(%rbp), %rdx
callq 0x53f0
jmp 0x3a0b
movq -0xb8(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rsi
leaq -0x68(%rbp), %rdi
callq 0x6c20
jmp 0x3a25
leaq 0xb628(%rip), %rsi      # 0xf054
leaq -0x68(%rbp), %rdi
callq 0x4850
movb %al, -0xb9(%rbp)
jmp 0x3a3d
leaq -0x68(%rbp), %rdi
callq 0x34d8
movb -0xb9(%rbp), %al
testb $0x1, %al
jne 0x3a52
jmp 0x3aa5
movb $0x0, -0x1(%rbp)
jmp 0x3c5f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x3b0e
movq -0xb8(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
movl $0xf0, %esi
callq 0x3260
jmp 0x3b0e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x34d8
jmp 0x3b0e
movq -0x38(%rbp), %rsi
leaq -0x88(%rbp), %rdi
callq 0x6c50
jmp 0x3ab7
leaq 0xb5ad(%rip), %rsi      # 0xf06b
leaq -0x88(%rbp), %rdi
callq 0x4850
movb %al, -0xba(%rbp)
jmp 0x3ad2
leaq -0x88(%rbp), %rdi
callq 0x34d8
movb -0xba(%rbp), %al
testb $0x1, %al
jne 0x3aed
jmp 0x3bf7
movb $0x0, -0x1(%rbp)
jmp 0x3c5f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x34d8
movl -0x44(%rbp), %eax
movl %eax, -0xc0(%rbp)
movl $0x2, %ecx
cmpl %ecx, %eax
jne 0x3b98
movq -0x40(%rbp), %rdi
movq %rdi, -0xc8(%rbp)
callq 0x3310
movq %rax, %rsi
leaq -0xb0(%rbp), %rdi
callq 0x3100
jmp 0x3b41
movq -0xc8(%rbp), %rdi
callq 0x30e0
movq 0x1449c(%rip), %rdi     # 0x17ff0
leaq -0xb0(%rbp), %rsi
callq 0x3220
movq %rax, -0xd0(%rbp)
jmp 0x3b69
movq -0xd0(%rbp), %rdi
movq 0x14419(%rip), %rsi     # 0x17f90
callq 0x3290
jmp 0x3b7e
movb $0x0, -0x1(%rbp)
leaq -0xb0(%rbp), %rdi
callq 0x34d8
callq 0x3400
jmp 0x3c5f
movl -0xc0(%rbp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x3c6d
movq -0x40(%rbp), %rdi
callq 0x30e0
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rsi
movq 0x14427(%rip), %rdi     # 0x17ff0
callq 0x3240
movq %rax, -0xd8(%rbp)
jmp 0x3bd7
movq -0xd8(%rbp), %rdi
movq 0x143ab(%rip), %rsi     # 0x17f90
callq 0x3290
jmp 0x3bec
movb $0x0, -0x1(%rbp)
callq 0x3400
jmp 0x3c5f
movq -0x38(%rbp), %rax
movq %rax, -0xe0(%rbp)
cmpq $0x0, %rax
je 0x3c25
movq -0xe0(%rbp), %rdi
callq 0x67d0
movq -0xe0(%rbp), %rdi
movl $0xf0, %esi
callq 0x3260
jmp 0x3c5b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
callq 0x3400
jmp 0x3c6d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xb0(%rbp), %rdi
callq 0x34d8
callq 0x3400
jmp 0x3c59
jmp 0x3c6d
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0xe0, %rsp
popq %rbp
retq
movq -0x40(%rbp), %rdi
callq 0x3440
movq %rax, %rdi
callq 0x4880
nop