// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/test/src/findSSRs.cpp
// Function: test1()
bool test1()
{
	bool ret_val = true;

	Arguments* args;

	try
	{
		int argc = 12;
		char* argv[] = {
			(char*)("test1"),
			(char*)("-d"),
			(char*)("-i"),
			(char*)("test/input/1.fasta"),
			(char*)("-o"),
			(char*)("test/output/actual/1.tsv"),
			(char*)("-n"),
			(char*)("2"),
			(char*)("-l"),
			(char*)("2"),
			(char*)("-p"),
			(char*)("2-3")
		};

		args = new Arguments(argc, argv);

		if (!args->helpOrVersionDisplayed())
		{
			FindSSRs* find_ssrs = new FindSSRs(args);
			ret_val = find_ssrs->run() == 0 ? true : false;
			delete find_ssrs;

			if (ret_val)
			{
				ret_val = actualOutputMatchedExpected("test/output/actual/1.tsv", "test/output/expected/1.tsv");
			}
		}
	}
	catch(string error)
	{
		cerr << error << endl;
		ret_val = false;
	}
	catch(const char* error)
	{
		cerr << error << endl;
		ret_val = false;
	}
	
	delete args;

	return ret_val;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
leaq 0x14cbe(%rip), %rsi     # 0x198e0
leaq 0x40(%rsp), %rdi
movl $0xc, %ecx
rep  movsq (%rsi), %es:(%rdi)
movl $0xf0, %edi
callq 0x4300
movq %rax, %rbx
leaq 0x40(%rsp), %rdx
movq %rax, %rdi
movl $0xc, %esi
callq 0x9082
movq %rbx, %r12
movq %rbx, %rdi
callq 0xa5c6
movb $0x1, %bpl
testb %al, %al
jne 0x4d20
movl $0x40, %edi
callq 0x4300
movq %rax, %r12
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7128
movq %r12, %rdi
callq 0x731c
movl %eax, %ebp
movq %r12, %rdi
callq 0x7278
movl $0x40, %esi
movq %r12, %rdi
callq 0x4310
testl %ebp, %ebp
sete %bpl
jne 0x4d20
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xc3b7(%rip), %rsi      # 0x1106b
leaq 0xc3c8(%rip), %rdx      # 0x11083
leaq 0x20(%rsp), %rdi
callq 0x6ef0
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0xc3bc(%rip), %rsi      # 0x11091
leaq 0xc3cf(%rip), %rdx      # 0x110ab
movq %rsp, %rdi
callq 0x6ef0
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
callq 0x6bc5
movl %eax, %ebp
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4d09
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4310
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x4d20
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4310
testq %rbx, %rbx
je 0x4d3a
movq %rbx, %rdi
callq 0xa4ac
movl $0xf0, %esi
movq %rbx, %rdi
callq 0x4310
movl %ebp, %eax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r15
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4d72
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4310
jmp 0x4d72
movq %rdx, %r15
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x4dc3
movq 0x30(%rsp), %rsi
incq %rsi
jmp 0x4d96
jmp 0x4d9d
movq %rdx, %r15
movq %rax, %r14
movl $0x40, %esi
movq %r12, %rdi
callq 0x4310
jmp 0x4dc3
movq %rdx, %r15
movq %rax, %r14
jmp 0x4dc3
movq %rdx, %r15
movq %rax, %r14
movl $0xf0, %esi
movq %rbx, %rdi
callq 0x4310
jmp 0x4dc3
movq %rdx, %r15
movq %rax, %r14
movq %r12, %rbx
cmpl $0x2, %r15d
jne 0x4e2d
movq %r14, %rdi
callq 0x43c0
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x6dba
movq %r14, %rdi
callq 0x4140
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq 0x151e9(%rip), %rdi     # 0x19ff0
callq 0x4370
movq %rax, %rdi
callq 0x4160
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x4e52
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x4310
jmp 0x4e52
cmpl $0x1, %r15d
jne 0x4e87
movq %r14, %rdi
callq 0x4140
movq 0x151ae(%rip), %rdi     # 0x19ff0
movq %rax, %rsi
callq 0x42f0
movq %rax, %rdi
callq 0x4160
callq 0x44d0
xorl %ebp, %ebp
jmp 0x4d20
movq %rax, %r14
callq 0x44d0
jmp 0x4e87
movq %rax, %r14
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x4e82
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x4310
callq 0x44d0
movq %r14, %rdi
callq 0x4550
movq %rax, %rdi
callq 0x6d37