Restructured tests and matured Logger a lil bit, now LoggerBase
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#define CODE_ERROR_LOCATIONS
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <iostream>
|
||||
#include "Processes.hpp"
|
||||
#include <Windows.h>
|
||||
|
||||
TEST(ProcessesTest, GetPID) {
|
||||
ASSERT_EQ(nb::GetPID(), GetCurrentProcessId());
|
||||
}
|
||||
|
||||
/* int main() {
|
||||
|
||||
std::cout << "nb::GetPID() -> " << nb::GetPID() << std::endl;
|
||||
|
||||
#ifdef _TARGET_WINDOWS
|
||||
std::cout << "GetCurrentProcessId() -> " << GetCurrentProcessId() << std::endl;
|
||||
#endif // _TARGET_WINDOWS
|
||||
|
||||
return 0;
|
||||
} */
|
||||
Reference in New Issue
Block a user