// File: /workspace/github_cpp_makefile_star2_O1/WShabti-Team[P]WShabtiPict/wshabtilib/junit-test-case-generator/junit-test-case-generator.cpp
// Function: test_source_code_generate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>)
void test_source_code_generate(string input_file_path, string output_file_path, string test_class_name, vector<string> prototypes)
{
    string import_test = "import static org.junit.jupiter.api.Assertions.assertEquals;"
                         "\nimport org.junit.jupiter.params.ParameterizedTest;"
                         "\nimport org.junit.jupiter.params.provider.CsvFileSource;";
    string init_of_class = "\n\nclass " + test_class_name +"Test {";
    string end_of_class = "\n}";
    
    string test_source_code = import_test + init_of_class;
    string class_name = get_class_name(input_file_path);

    for(int i =0; i < prototypes.size(); i++)
    {
        test_source_code = test_source_code + method_test_case_generate(output_file_path, prototypes[i], class_name);
    }
    
    test_source_code = test_source_code + end_of_class;

    //CREATE .java TEST FILE
    ofstream java_test_class;
  	java_test_class.open(output_file_path + class_name + "Test.java", ios_base::out);
    java_test_class << test_source_code;
    java_test_class.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x368, %rsp            # imm = 0x368
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, 0x20(%rsp)
movq %rdi, %r15
leaq 0xf8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x6dd6(%rip), %rsi      # 0x27c3c
leaq 0x6e76(%rip), %rdx      # 0x27ce3
leaq 0xe8(%rsp), %rdi
callq 0x7592
leaq 0x6e63(%rip), %rsi      # 0x27ce4
leaq 0x168(%rsp), %rdi
movq %r12, %rdx
callq 0x215bd
leaq 0x6e55(%rip), %rsi      # 0x27ced
leaq 0x168(%rsp), %rdi
callq 0x5730
leaq 0x58(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x20ecc
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x20ed2
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x178(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x20f0b
movq 0x178(%rsp), %rsi
incq %rsi
callq 0x53e0
leaq 0xd8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x6dd6(%rip), %rsi      # 0x27cf4
leaq 0x6dd1(%rip), %rdx      # 0x27cf6
leaq 0xc8(%rsp), %rdi
callq 0x7592
leaq 0x28(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0x21645
leaq 0x138(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x128(%rsp), %rdi
callq 0x7622
leaq 0x108(%rsp), %rdi
leaq 0x128(%rsp), %rsi
callq 0x11f60
movq 0x128(%rsp), %rdi
cmpq %r12, %rdi
je 0x20f9f
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0x8(%r14), %rax
cmpq (%r14), %rax
je 0x21188
leaq 0xb8(%rsp), %r13
movl $0x8, %r15d
xorl %r12d, %r12d
movq %rsp, %rbx
movq %r13, 0xa8(%rsp)
movq 0x20(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0xa8(%rsp), %r13
movq %r13, %rdi
callq 0x7622
movq (%r14), %rax
leaq 0x78(%rsp), %rcx
movq %rcx, 0x68(%rsp)
movq -0x8(%rax,%r15), %rsi
movq (%rax,%r15), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0x7622
leaq 0x98(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x108(%rsp), %rsi
movq 0x110(%rsp), %rdx
addq %rsi, %rdx
leaq 0x88(%rsp), %rbp
movq %rbp, %rdi
callq 0x7622
movq %rbx, %rdi
movq %r13, %rsi
leaq 0x68(%rsp), %rdx
movq %rbp, %rcx
callq 0x1fb3f
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %r8
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5460
leaq 0x178(%rsp), %r13
movq %r13, 0x168(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2109a
movq %rdx, 0x168(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x178(%rsp)
jmp 0x210a2
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x170(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28(%rsp), %rdi
leaq 0x168(%rsp), %rsi
callq 0x54e0
movq 0x168(%rsp), %rdi
cmpq %r13, %rdi
je 0x210ec
movq 0x178(%rsp), %rsi
incq %rsi
callq 0x53e0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
leaq 0xb8(%rsp), %r13
je 0x2110f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x21134
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x21150
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0xa8(%rsp), %rdi
cmpq %r13, %rdi
je 0x2116d
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0x8(%r14), %rax
subq (%r14), %rax
incq %r12
sarq $0x5, %rax
addq $0x20, %r15
cmpq %r12, %rax
ja 0x20fc0
leaq 0x168(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0xc8(%rsp), %rdx
callq 0x21645
leaq 0x28(%rsp), %rdi
leaq 0x168(%rsp), %r14
movq %r14, %rsi
callq 0x54e0
movq (%r14), %rdi
leaq 0x178(%rsp), %rax
cmpq %rax, %rdi
je 0x211d7
movq 0x178(%rsp), %rsi
incq %rsi
callq 0x53e0
leaq 0x168(%rsp), %rdi
callq 0x5670
leaq 0x148(%rsp), %rdi
leaq 0x108(%rsp), %rdx
movq 0x20(%rsp), %rsi
callq 0x21645
leaq 0x6af2(%rip), %rsi      # 0x27cf7
leaq 0x148(%rsp), %rdi
callq 0x5730
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x21238
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x2123f
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rsp, %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x168(%rsp), %rdi
movl $0x10, %edx
callq 0x51d0
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x21281
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x53e0
leaq 0x158(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x212a2
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
leaq 0x168(%rsp), %rdi
callq 0x5490
leaq 0x168(%rsp), %rdi
callq 0x5590
movq 0x13cbb(%rip), %rax     # 0x34f88
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x170(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x168(%rsp,%rcx)
callq 0x5340
leaq 0x260(%rsp), %rdi
callq 0x5150
leaq 0x118(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2131f
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x53e0
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2133a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x2135f
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2137b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x213a0
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x53e0
addq $0x368, %rsp            # imm = 0x368
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x213d0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x53e0
jmp 0x213d0
movq %rax, %rbx
leaq 0x158(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x21466
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x53e0
jmp 0x21466
jmp 0x21463
jmp 0x21478
jmp 0x21478
movq %rax, %rbx
movq 0x128(%rsp), %rdi
cmpq %r12, %rdi
je 0x21534
movq 0x138(%rsp), %rsi
jmp 0x2152c
movq %rax, %rbx
jmp 0x21534
movq %rax, %rbx
jmp 0x2154f
movq %rax, %rbx
jmp 0x21574
movq %rax, %rbx
leaq 0x178(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x21590
movq 0x178(%rsp), %rsi
jmp 0x21588
movq %rax, %rbx
jmp 0x21590
movq %rax, %rbx
leaq 0x168(%rsp), %rdi
callq 0x55d0
jmp 0x21513
movq %rax, %rbx
jmp 0x21513
movq %rax, %rbx
jmp 0x214ee
movq %rax, %rbx
jmp 0x214d2
movq %rax, %rbx
jmp 0x214ad
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x214ad
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x214d2
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x214ee
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x21513
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x53e0
leaq 0x118(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x21534
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x53e0
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2154f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x21574
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x21590
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x215b5
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x53e0
movq %rbx, %rdi
callq 0x56a0