// File: /workspace/github_cpp_makefile_star2_O3/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 0x14cde(%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 0x9076
movq %rbx, %r12
movq %rbx, %rdi
callq 0xa5da
movb $0x1, %r14b
testb %al, %al
jne 0x4d02
movl $0x40, %edi
callq 0x4300
movq %rax, %r12
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7178
movq %r12, %rdi
callq 0x7370
movl %eax, %ebp
movq %r12, %rdi
callq 0x72cc
movl $0x40, %esi
movq %r12, %rdi
callq 0x4310
testl %ebp, %ebp
je 0x4c84
xorl %r14d, %r14d
jmp 0x4d02
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xc3d6(%rip), %rsi      # 0x1106b
leaq 0xc3e7(%rip), %rdx      # 0x11083
leaq 0x20(%rsp), %rdi
callq 0x6f3a
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0xc3db(%rip), %rsi      # 0x11091
leaq 0xc3ee(%rip), %rdx      # 0x110ab
movq %rsp, %rdi
callq 0x6f3a
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
callq 0x6c1d
movl %eax, %r14d
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4ceb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4310
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x4d02
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4310
movq %rbx, %rdi
callq 0xa4c0
movl $0xf0, %esi
movq %rbx, %rdi
callq 0x4310
movl %r14d, %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 0x4d50
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4310
jmp 0x4d50
movq %rdx, %r15
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x4da1
movq 0x30(%rsp), %rsi
incq %rsi
jmp 0x4d74
jmp 0x4d7b
movq %rdx, %r15
movq %rax, %r14
movl $0x40, %esi
movq %r12, %rdi
callq 0x4310
jmp 0x4da1
movq %rdx, %r15
movq %rax, %r14
jmp 0x4da1
movq %rdx, %r15
movq %rax, %r14
movl $0xf0, %esi
movq %rbx, %rdi
callq 0x4310
jmp 0x4da1
movq %rdx, %r15
movq %rax, %r14
movq %r12, %rbx
cmpl $0x2, %r15d
jne 0x4e0b
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 0x6e0a
movq %r14, %rdi
callq 0x4140
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq 0x1520b(%rip), %rdi     # 0x19ff0
callq 0x4370
movq %rax, %rdi
callq 0x4160
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x4e30
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x4310
jmp 0x4e30
cmpl $0x1, %r15d
jne 0x4e71
movq %r14, %rdi
callq 0x4140
movq 0x151d0(%rip), %rdi     # 0x19ff0
movq %rax, %rsi
callq 0x42f0
movq %rax, %rdi
callq 0x4160
callq 0x44d0
xorl %r14d, %r14d
testq %rbx, %rbx
jne 0x4d02
xorl %ebx, %ebx
jmp 0x4d0a
movq %rax, %r14
callq 0x44d0
jmp 0x4e71
movq %rax, %r14
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x4e6c
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x4310
callq 0x44d0
movq %r14, %rdi
callq 0x4550
movq %rax, %rdi
callq 0x6d87