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

		if (args->getInFileName() != "example/input.fasta")
		{
			return false;
		}
		if (args->getOutFileName() != "test/arg3.tsv")
		{
			return false;
		}
		if (!args->inPeriods(18))
		{
			return false;
		}
		for (uint32_t p = 1; p < 8; ++p)
		{
			if (!args->inPeriods(p))
			{
				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 $0x100, %rsp            # imm = 0x100
movl $0x7, -0x8(%rbp)
movq 0x13da7(%rip), %rax     # 0x17cf0
movq %rax, -0x10(%rbp)
movaps 0x13d8c(%rip), %xmm0    # 0x17ce0
movaps %xmm0, -0x20(%rbp)
movaps 0x13d71(%rip), %xmm0    # 0x17cd0
movaps %xmm0, -0x30(%rbp)
movaps 0x13d56(%rip), %xmm0    # 0x17cc0
movaps %xmm0, -0x40(%rbp)
movl $0xf0, %edi
callq 0x3250
movq %rax, -0xd0(%rbp)
jmp 0x3f81
movq -0xd0(%rbp), %rdi
movl -0x8(%rbp), %esi
leaq -0x40(%rbp), %rdx
callq 0x53f0
jmp 0x3f96
movq -0xd0(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rsi
leaq -0x78(%rbp), %rdi
callq 0x6c20
jmp 0x3fb0
leaq 0xb09d(%rip), %rsi      # 0xf054
leaq -0x78(%rbp), %rdi
callq 0x4850
movb %al, -0xd1(%rbp)
jmp 0x3fc8
leaq -0x78(%rbp), %rdi
callq 0x34d8
movb -0xd1(%rbp), %al
testb $0x1, %al
jne 0x3fdd
jmp 0x4030
movb $0x0, -0x1(%rbp)
jmp 0x4267
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x4099
movq -0xd0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
movl $0xf0, %esi
callq 0x3260
jmp 0x4099
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x34d8
jmp 0x4099
movq -0x48(%rbp), %rsi
leaq -0x98(%rbp), %rdi
callq 0x6c50
jmp 0x4042
leaq 0xb053(%rip), %rsi      # 0xf09c
leaq -0x98(%rbp), %rdi
callq 0x4850
movb %al, -0xd2(%rbp)
jmp 0x405d
leaq -0x98(%rbp), %rdi
callq 0x34d8
movb -0xd2(%rbp), %al
testb $0x1, %al
jne 0x4078
jmp 0x4185
movb $0x0, -0x1(%rbp)
jmp 0x4267
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x34d8
movl -0x54(%rbp), %eax
movl %eax, -0xd8(%rbp)
movl $0x2, %ecx
cmpl %ecx, %eax
jne 0x4123
movq -0x50(%rbp), %rdi
movq %rdi, -0xe0(%rbp)
callq 0x3310
movq %rax, %rsi
leaq -0xc8(%rbp), %rdi
callq 0x3100
jmp 0x40cc
movq -0xe0(%rbp), %rdi
callq 0x30e0
movq 0x13f11(%rip), %rdi     # 0x17ff0
leaq -0xc8(%rbp), %rsi
callq 0x3220
movq %rax, -0xe8(%rbp)
jmp 0x40f4
movq -0xe8(%rbp), %rdi
movq 0x13e8e(%rip), %rsi     # 0x17f90
callq 0x3290
jmp 0x4109
movb $0x0, -0x1(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x34d8
callq 0x3400
jmp 0x4267
movl -0xd8(%rbp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x4275
movq -0x50(%rbp), %rdi
callq 0x30e0
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rsi
movq 0x13e9c(%rip), %rdi     # 0x17ff0
callq 0x3240
movq %rax, -0xf0(%rbp)
jmp 0x4162
movq -0xf0(%rbp), %rdi
movq 0x13e20(%rip), %rsi     # 0x17f90
callq 0x3290
jmp 0x4177
movb $0x0, -0x1(%rbp)
callq 0x3400
jmp 0x4267
movq -0x48(%rbp), %rdi
movl $0x12, %esi
callq 0x6bc0
movb %al, -0xf1(%rbp)
jmp 0x419b
movb -0xf1(%rbp), %al
testb $0x1, %al
jne 0x41b0
jmp 0x41a7
movb $0x0, -0x1(%rbp)
jmp 0x4267
movl $0x1, -0x9c(%rbp)
cmpl $0x8, -0x9c(%rbp)
jae 0x41ff
movq -0x48(%rbp), %rdi
movl -0x9c(%rbp), %esi
callq 0x6bc0
movb %al, -0xf2(%rbp)
jmp 0x41da
movb -0xf2(%rbp), %al
testb $0x1, %al
jne 0x41ec
jmp 0x41e6
movb $0x0, -0x1(%rbp)
jmp 0x4267
jmp 0x41ee
movl -0x9c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x9c(%rbp)
jmp 0x41ba
movq -0x48(%rbp), %rax
movq %rax, -0x100(%rbp)
cmpq $0x0, %rax
je 0x422d
movq -0x100(%rbp), %rdi
callq 0x67d0
movq -0x100(%rbp), %rdi
movl $0xf0, %esi
callq 0x3260
jmp 0x4263
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
callq 0x3400
jmp 0x4275
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x34d8
callq 0x3400
jmp 0x4261
jmp 0x4275
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
movq -0x50(%rbp), %rdi
callq 0x3440
movq %rax, %rdi
callq 0x4880
nopw %cs:(%rax,%rax)