// File: /workspace/github_cpp_makefile_star2_O2/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 %r12
pushq %rbx
subq $0xb0, %rsp
leaq 0x13e9f(%rip), %rsi     # 0x188f0
pushq $0xc
popq %rcx
leaq 0x50(%rsp), %rdi
rep  movsq (%rsi), %es:(%rdi)
movl $0xf0, %edi
callq 0x42f0
movq %rax, %rbx
pushq $0xc
popq %rsi
leaq 0x50(%rsp), %rdx
movq %rax, %rdi
callq 0x854e
movq %rbx, %r12
movq %rbx, %rdi
callq 0x91d8
movb $0x1, %r14b
testb %al, %al
jne 0x4b1d
pushq $0x40
popq %rdi
callq 0x42f0
movq %rax, %r12
movq %rax, %rdi
movq %rbx, %rsi
callq 0x69d8
movq %r12, %rdi
callq 0x6b72
movl %eax, %ebp
movq %r12, %rdi
callq 0x6ae6
pushq $0x40
popq %rsi
movq %r12, %rdi
callq 0x4300
testl %ebp, %ebp
je 0x4acb
xorl %r14d, %r14d
jmp 0x4b1d
leaq 0xa599(%rip), %rsi      # 0xf06b
leaq 0x30(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x6582
leaq 0xa5a9(%rip), %rsi      # 0xf091
leaq 0x10(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x6582
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x6441
movl %eax, %r14d
leaq 0x10(%rsp), %rdi
callq 0x45e8
leaq 0x30(%rsp), %rdi
callq 0x45e8
movq %rbx, %rdi
callq 0x911a
movl $0xf0, %esi
movq %rbx, %rdi
callq 0x4300
movl %r14d, %eax
addq $0xb0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r15
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x45e8
jmp 0x4b5d
movq %rdx, %r15
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x45e8
jmp 0x4ba4
jmp 0x4b7e
movq %rdx, %r15
movq %rax, %r14
pushq $0x40
popq %rsi
movq %r12, %rdi
callq 0x4300
jmp 0x4ba4
movq %rdx, %r15
movq %rax, %r14
jmp 0x4ba4
movq %rdx, %r15
movq %rax, %r14
movl $0xf0, %esi
movq %rbx, %rdi
callq 0x4300
jmp 0x4ba4
movq %rdx, %r15
movq %rax, %r14
movq %r12, %rbx
cmpl $0x2, %r15d
jne 0x4bec
movq %r14, %rdi
callq 0x43b0
leaq 0x50(%rsp), %rdi
movq %rax, %rsi
callq 0x4400
movq %r14, %rdi
callq 0x4130
movq 0x14422(%rip), %rdi     # 0x18ff0
leaq 0x50(%rsp), %rsi
callq 0x42c0
movq %rax, %rdi
callq 0x4160
leaq 0x50(%rsp), %rdi
callq 0x45e8
jmp 0x4c11
cmpl $0x1, %r15d
jne 0x4c45
movq %r14, %rdi
callq 0x4130
movq 0x143ef(%rip), %rdi     # 0x18ff0
movq %rax, %rsi
callq 0x42e0
movq %rax, %rdi
callq 0x4160
callq 0x44e0
xorl %r14d, %r14d
testq %rbx, %rbx
jne 0x4b1d
xorl %ebx, %ebx
jmp 0x4b25
movq %rax, %r14
callq 0x44e0
jmp 0x4c45
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0x45e8
callq 0x44e0
movq %r14, %rdi
callq 0x4560
movq %rax, %rdi
callq 0x65c7