// File: /workspace/github_cpp_makefile_star2_O2/porzell[P]PTest/examples/../include/ptest.hpp
// Function: PTest::PTestRegistry::RunAllTests()
int RunAllTests() {
			size_t testsRunCount = 0;
			size_t testsFailedCount = 0;

			SetConsoleColor(PColor::Green);
			printf("\n[Running all tests]\n\n");
			SetConsoleColor(PColor::Normal);

			std::chrono::duration<double, std::milli> totalDuration = std::chrono::milliseconds(0);

			for (auto& it : index_) {
				auto& theTest = it->second;
				currentTest_ = &theTest;
				if (!theTest.Run()) {
					testsFailedCount++;
				}
				currentTest_ = nullptr;
				totalDuration += theTest.GetDuration();
				testsRunCount++;
			}

			putchar('\n');
			SetConsoleColor(PColor::Normal); PrintBars(3); printf("[Test Summary]:");
			SetConsoleColor(PColor::Blue); printf("\t\t\t(Total Time: %f ms)\n", totalDuration.count());
			SetConsoleColor(PColor::Green); printf("\tTests Passed:\t");
			SetConsoleColor(PColor::Normal); printf("%zu\n", testsRunCount - testsFailedCount);
			testsFailedCount ? SetConsoleColor(PColor::Red) : SetConsoleColor(PColor::Green);
			printf("\tTests Failed:\t");
			SetConsoleColor(PColor::Normal); printf("%zu\n", testsFailedCount);
			SetConsoleColor(PColor::Blue); printf("\tTotal Tests:\t");
			SetConsoleColor(PColor::Normal); printf("%zu\n", testsRunCount); PrintBars(3);

			return testsFailedCount;
		}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r12
leaq 0x2492(%rip), %rdi      # 0x502d
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x2030
leaq 0x275f(%rip), %rdi      # 0x530a
callq 0x21b0
leaq 0x2482(%rip), %rdi      # 0x5039
xorl %eax, %eax
callq 0x2030
movq 0x38(%r12), %r15
movq 0x40(%r12), %rax
movq %rax, -0x38(%rbp)
xorpd %xmm0, %xmm0
movsd %xmm0, -0x30(%rbp)
xorl %r13d, %r13d
cmpq -0x38(%rbp), %r15
je 0x2c1e
movq %rbx, %r14
movq (%r15), %rbx
leaq 0x28(%rbx), %rdi
movq %rdi, 0x50(%r12)
callq 0x4168
xorb $0x1, %al
movzbl %al, %eax
addq %rax, %r13
andq $0x0, 0x50(%r12)
movsd -0x30(%rbp), %xmm0
addsd 0x98(%rbx), %xmm0
movsd %xmm0, -0x30(%rbp)
movq %r14, %rbx
addq $0x8, %r15
decq %rbx
jmp 0x2bd8
pushq $0xa
popq %rdi
callq 0x2180
leaq 0x240c(%rip), %r14      # 0x5039
movq %r14, %rdi
xorl %eax, %eax
callq 0x2030
pushq $0x3
popq %rdi
callq 0x23cc
leaq 0x2603(%rip), %rdi      # 0x5249
xorl %eax, %eax
callq 0x2030
leaq 0x23df(%rip), %rdi      # 0x5033
xorl %eax, %eax
callq 0x2030
leaq 0x25f7(%rip), %rdi      # 0x5259
movsd -0x30(%rbp), %xmm0
movb $0x1, %al
callq 0x2030
leaq 0x23b8(%rip), %r12      # 0x502d
movq %r12, %rdi
xorl %eax, %eax
callq 0x2030
leaq 0x25eb(%rip), %rdi      # 0x5271
xorl %eax, %eax
callq 0x2030
movq %r14, %rdi
xorl %eax, %eax
callq 0x2030
leaq (%rbx,%r13), %rsi
negq %rsi
leaq 0x25dc(%rip), %r15      # 0x5281
movq %r15, %rdi
xorl %eax, %eax
callq 0x2030
testq %r13, %r13
leaq 0x236e(%rip), %rdi      # 0x5027
cmoveq %r12, %rdi
xorl %eax, %eax
callq 0x2030
leaq 0x25bb(%rip), %rdi      # 0x5286
xorl %eax, %eax
callq 0x2030
leaq 0x2360(%rip), %r12      # 0x5039
movq %r12, %rdi
xorl %eax, %eax
callq 0x2030
movq %r15, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x2030
leaq 0x233c(%rip), %rdi      # 0x5033
xorl %eax, %eax
callq 0x2030
leaq 0x2591(%rip), %rdi      # 0x5296
xorl %eax, %eax
callq 0x2030
movq %r12, %rdi
xorl %eax, %eax
callq 0x2030
negq %rbx
movq %r15, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2030
pushq $0x3
popq %rdi
callq 0x23cc
movl %r13d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq