// File: ridgelab[P]Kmer-SSR/test/src/arguments.cpp
// Function: test4()
bool test4()
{
	try
	{
		int argc = 13;
		char* argv[] = {
			(char*)("test4"),
			(char*)("-i"),
			(char*)("example/input.fasta"),
			(char*)("-o"),
			(char*)("test/arg4.tsv"),
			(char*)("-n"),
			(char*)("5"),
			(char*)("-N"),
			(char*)("18"),
			(char*)("-r"),
			(char*)("4"),
			(char*)("-R"),
			(char*)("8")
		};
		
		Arguments* args = new Arguments(argc, argv);

		if (args->getInFileName() != "example/input.fasta")
		{
			return false;
		}
		if (args->getOutFileName() != "test/arg4.tsv")
		{
			return false;
		}
		if (args->getMinNucleotideLength() != 5)
		{
			return false;
		}
		if (args->getMaxNucleotideLength() != 18)
		{
			return false;
		}
		if (args->getMinRepeats() != 4)
		{
			return false;
		}
		if (args->getMaxRepeats() != 8)
		{
			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 $0x130, %rsp            # imm = 0x130
movl $0xd, -0x8(%rbp)
movq 0x13ab7(%rip), %rax     # 0x17d60
movq %rax, -0x10(%rbp)
movaps 0x13a9c(%rip), %xmm0    # 0x17d50
movaps %xmm0, -0x20(%rbp)
movaps 0x13a81(%rip), %xmm0    # 0x17d40
movaps %xmm0, -0x30(%rbp)
movaps 0x13a66(%rip), %xmm0    # 0x17d30
movaps %xmm0, -0x40(%rbp)
movaps 0x13a4b(%rip), %xmm0    # 0x17d20
movaps %xmm0, -0x50(%rbp)
movaps 0x13a30(%rip), %xmm0    # 0x17d10
movaps %xmm0, -0x60(%rbp)
movaps 0x13a15(%rip), %xmm0    # 0x17d00
movaps %xmm0, -0x70(%rbp)
movl $0xf0, %edi
callq 0x3250
movq %rax, -0xf8(%rbp)
jmp 0x4302
movq -0xf8(%rbp), %rdi
movl -0x8(%rbp), %esi
leaq -0x70(%rbp), %rdx
callq 0x53f0
jmp 0x4317
movq -0xf8(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rsi
leaq -0xa8(%rbp), %rdi
callq 0x6c20
jmp 0x4334
leaq 0xad19(%rip), %rsi      # 0xf054
leaq -0xa8(%rbp), %rdi
callq 0x4850
movb %al, -0xf9(%rbp)
jmp 0x434f
leaq -0xa8(%rbp), %rdi
callq 0x34d8
movb -0xf9(%rbp), %al
testb $0x1, %al
jne 0x4367
jmp 0x43c6
movb $0x0, -0x1(%rbp)
jmp 0x4620
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x80(%rbp)
movl %eax, -0x84(%rbp)
jmp 0x4432
movq -0xf8(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x80(%rbp)
movl %eax, -0x84(%rbp)
movl $0xf0, %esi
callq 0x3260
jmp 0x4432
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x80(%rbp)
movl %eax, -0x84(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x34d8
jmp 0x4432
movq -0x78(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x6c50
jmp 0x43d8
leaq 0xacdb(%rip), %rsi      # 0xf0ba
leaq -0xc8(%rbp), %rdi
callq 0x4850
movb %al, -0xfa(%rbp)
jmp 0x43f3
leaq -0xc8(%rbp), %rdi
callq 0x34d8
movb -0xfa(%rbp), %al
testb $0x1, %al
jne 0x440e
jmp 0x4521
movb $0x0, -0x1(%rbp)
jmp 0x4620
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x80(%rbp)
movl %eax, -0x84(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x34d8
movl -0x84(%rbp), %eax
movl %eax, -0x100(%rbp)
movl $0x2, %ecx
cmpl %ecx, %eax
jne 0x44bf
movq -0x80(%rbp), %rdi
movq %rdi, -0x108(%rbp)
callq 0x3310
movq %rax, %rsi
leaq -0xf0(%rbp), %rdi
callq 0x3100
jmp 0x4468
movq -0x108(%rbp), %rdi
callq 0x30e0
movq 0x13b75(%rip), %rdi     # 0x17ff0
leaq -0xf0(%rbp), %rsi
callq 0x3220
movq %rax, -0x110(%rbp)
jmp 0x4490
movq -0x110(%rbp), %rdi
movq 0x13af2(%rip), %rsi     # 0x17f90
callq 0x3290
jmp 0x44a5
movb $0x0, -0x1(%rbp)
leaq -0xf0(%rbp), %rdi
callq 0x34d8
callq 0x3400
jmp 0x4620
movl -0x100(%rbp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x462e
movq -0x80(%rbp), %rdi
callq 0x30e0
movq %rax, -0xd0(%rbp)
movq -0xd0(%rbp), %rsi
movq 0x13b00(%rip), %rdi     # 0x17ff0
callq 0x3240
movq %rax, -0x118(%rbp)
jmp 0x44fe
movq -0x118(%rbp), %rdi
movq 0x13a84(%rip), %rsi     # 0x17f90
callq 0x3290
jmp 0x4513
movb $0x0, -0x1(%rbp)
callq 0x3400
jmp 0x4620
movq -0x78(%rbp), %rdi
callq 0x69f0
movl %eax, -0x11c(%rbp)
jmp 0x4532
movl -0x11c(%rbp), %eax
cmpl $0x5, %eax
je 0x4546
movb $0x0, -0x1(%rbp)
jmp 0x4620
movq -0x78(%rbp), %rdi
callq 0x6a10
movl %eax, -0x120(%rbp)
jmp 0x4557
movl -0x120(%rbp), %eax
cmpl $0x12, %eax
je 0x456b
movb $0x0, -0x1(%rbp)
jmp 0x4620
movq -0x78(%rbp), %rdi
callq 0x6a30
movl %eax, -0x124(%rbp)
jmp 0x457c
movl -0x124(%rbp), %eax
cmpl $0x4, %eax
je 0x4590
movb $0x0, -0x1(%rbp)
jmp 0x4620
movq -0x78(%rbp), %rdi
callq 0x6a50
movl %eax, -0x128(%rbp)
jmp 0x45a1
movl -0x128(%rbp), %eax
cmpl $0x8, %eax
je 0x45b2
movb $0x0, -0x1(%rbp)
jmp 0x4620
movq -0x78(%rbp), %rax
movq %rax, -0x130(%rbp)
cmpq $0x0, %rax
je 0x45e0
movq -0x130(%rbp), %rdi
callq 0x67d0
movq -0x130(%rbp), %rdi
movl $0xf0, %esi
callq 0x3260
jmp 0x461c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x80(%rbp)
movl %eax, -0x84(%rbp)
callq 0x3400
jmp 0x462e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x80(%rbp)
movl %eax, -0x84(%rbp)
leaq -0xf0(%rbp), %rdi
callq 0x34d8
callq 0x3400
jmp 0x461a
jmp 0x462e
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
movq -0x80(%rbp), %rdi
callq 0x3440
movq %rax, %rdi
callq 0x4880
nop