// File: ridgelab[P]Kmer-SSR/test/src/outputFile.cpp
// Function: main
int main()
{
	//OutputFile of();
	
	//string fn = "b";
	string fn = "/dev/null";
	OutputFile of(fn);

	of << 'a' << '\n';
	of << "a" << '\n';
	of << "apple" << '\n';
	of << 7 << '\n';
	of << -6 << '\n';
	of << '\t' << '\n';
	string temp_str = "banana";
	of << temp_str << '\n';
	stringstream strm;
	strm << "cherries";
	of << strm << '\n';

	//cout << "\nThe outputFile test has not yet been implemented." << endl;
	
	cout << "\n\033[0;34mOutputFile Test: ";

	bool pass = true;

	if (pass)
	{
		cout << "\033[0;32mOK\033[0m" << endl;
	}
	else
	{
		cout << "\033[0;31mFAIL\033[0m" << endl;
	}

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x480, %rsp            # imm = 0x480
movl $0x0, -0x4(%rbp)
leaq -0x29(%rbp), %rdi
movq %rdi, -0x420(%rbp)
callq 0x22c0
movq -0x420(%rbp), %rdx
leaq 0x1b64(%rip), %rsi      # 0x4004
leaq -0x28(%rbp), %rdi
callq 0x2820
jmp 0x24ab
leaq -0x29(%rbp), %rdi
callq 0x21b0
leaq -0x260(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x2bf0
jmp 0x24c6
leaq -0x260(%rbp), %rdi
movl $0x61, %esi
callq 0x3320
movq %rax, -0x428(%rbp)
jmp 0x24e0
movq -0x428(%rbp), %rdi
movl $0xa, %esi
callq 0x3320
jmp 0x24f3
leaq 0x1b1f(%rip), %rsi      # 0x4019
leaq -0x260(%rbp), %rdi
callq 0x33b0
movq %rax, -0x430(%rbp)
jmp 0x250f
movq -0x430(%rbp), %rdi
movl $0xa, %esi
callq 0x3320
jmp 0x2522
leaq 0x1ae5(%rip), %rsi      # 0x400e
leaq -0x260(%rbp), %rdi
callq 0x33b0
movq %rax, -0x438(%rbp)
jmp 0x253e
movq -0x438(%rbp), %rdi
movl $0xa, %esi
callq 0x3320
jmp 0x2551
leaq -0x260(%rbp), %rdi
movl $0x7, %esi
callq 0x3350
movq %rax, -0x440(%rbp)
jmp 0x256b
movq -0x440(%rbp), %rdi
movl $0xa, %esi
callq 0x3320
jmp 0x257e
leaq -0x260(%rbp), %rdi
movl $0xfffffffa, %esi       # imm = 0xFFFFFFFA
callq 0x3350
movq %rax, -0x448(%rbp)
jmp 0x2598
movq -0x448(%rbp), %rdi
movl $0xa, %esi
callq 0x3320
jmp 0x25ab
leaq -0x260(%rbp), %rdi
movl $0x9, %esi
callq 0x3320
movq %rax, -0x450(%rbp)
jmp 0x25c5
movq -0x450(%rbp), %rdi
movl $0xa, %esi
callq 0x3320
jmp 0x25d8
leaq -0x281(%rbp), %rdi
movq %rdi, -0x458(%rbp)
callq 0x22c0
movq -0x458(%rbp), %rdx
leaq 0x1a1b(%rip), %rsi      # 0x4014
leaq -0x280(%rbp), %rdi
callq 0x2820
jmp 0x2607
leaq -0x281(%rbp), %rdi
callq 0x21b0
leaq -0x260(%rbp), %rdi
leaq -0x280(%rbp), %rsi
callq 0x33e0
movq %rax, -0x460(%rbp)
jmp 0x262f
movq -0x460(%rbp), %rdi
movl $0xa, %esi
callq 0x3320
jmp 0x2642
leaq -0x410(%rbp), %rdi
callq 0x20e0
jmp 0x2650
leaq -0x400(%rbp), %rdi
leaq 0x19bd(%rip), %rsi      # 0x401b
callq 0x2180
jmp 0x2665
leaq -0x260(%rbp), %rdi
leaq -0x410(%rbp), %rsi
callq 0x3440
movq %rax, -0x468(%rbp)
jmp 0x2681
movq -0x468(%rbp), %rdi
movl $0xa, %esi
callq 0x3320
jmp 0x2694
movq 0x393d(%rip), %rdi      # 0x5fd8
leaq 0x1982(%rip), %rsi      # 0x4024
callq 0x2180
jmp 0x26a9
movb $0x1, -0x411(%rbp)
testb $0x1, -0x411(%rbp)
je 0x2777
movq 0x3914(%rip), %rdi      # 0x5fd8
leaq 0x1973(%rip), %rsi      # 0x403e
callq 0x2180
movq %rax, -0x470(%rbp)
jmp 0x26d9
movq -0x470(%rbp), %rdi
movq 0x38e1(%rip), %rsi      # 0x5fc8
callq 0x2190
jmp 0x26ee
jmp 0x27aa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x29(%rbp), %rdi
callq 0x21b0
jmp 0x280b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x2802
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x27f6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x281(%rbp), %rdi
callq 0x21b0
jmp 0x27f6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x27ea
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x410(%rbp), %rdi
callq 0x2100
jmp 0x27ea
movq 0x385a(%rip), %rdi      # 0x5fd8
leaq 0x18c7(%rip), %rsi      # 0x404c
callq 0x2180
movq %rax, -0x478(%rbp)
jmp 0x2793
movq -0x478(%rbp), %rdi
movq 0x3827(%rip), %rsi      # 0x5fc8
callq 0x2190
jmp 0x27a8
jmp 0x27aa
movl $0x0, -0x4(%rbp)
leaq -0x410(%rbp), %rdi
callq 0x2100
leaq -0x280(%rbp), %rdi
callq 0x20b0
leaq -0x260(%rbp), %rdi
callq 0x2f90
leaq -0x28(%rbp), %rdi
callq 0x20b0
movl -0x4(%rbp), %eax
addq $0x480, %rsp            # imm = 0x480
popq %rbp
retq
leaq -0x280(%rbp), %rdi
callq 0x20b0
leaq -0x260(%rbp), %rdi
callq 0x2f90
leaq -0x28(%rbp), %rdi
callq 0x20b0
movq -0x38(%rbp), %rdi
callq 0x22b0
nopw %cs:(%rax,%rax)
nop