vcpe/unit_test/misc/misc_test.cpp

14 lines
285 B
C++
Raw Normal View History

//
// 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);
}
}