14 lines
285 B
C++
14 lines
285 B
C++
|
//
|
||
|
// Created by xajhuang on 2023/2/1.
|
||
|
//
|
||
|
#include "doctest.h"
|
||
|
|
||
|
#include "misc.h"
|
||
|
|
||
|
TEST_SUITE("Miscellaneous functions") {
|
||
|
TEST_CASE("GetProcessName") {
|
||
|
const char *processName = get_cur_process_name();
|
||
|
CHECK_EQ(doctest::String(processName), PROJECT_NAME);
|
||
|
}
|
||
|
}
|