mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
17 lines
312 B
C++
17 lines
312 B
C++
|
|
#include <iostream>
|
|
#include <string>
|
|
|
|
#include "gtest/gtest.h"
|
|
|
|
#include "libimp/system.h"
|
|
#include "libimp/detect_plat.h"
|
|
#include "libimp/codecvt.h"
|
|
#include "libimp/fmt.h"
|
|
|
|
TEST(system, conf) {
|
|
auto ret = imp::sys::conf(imp::sys::info::page_size);
|
|
EXPECT_TRUE(ret);
|
|
EXPECT_EQ(ret.value(), 4096);
|
|
}
|