mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
16 lines
490 B
C++
16 lines
490 B
C++
|
|
#include "gtest/gtest.h"
|
|
|
|
#include "libpmr/monotonic_buffer_resource.h"
|
|
|
|
TEST(monotonic_buffer_resource, construct) {
|
|
{ pmr::monotonic_buffer_resource tmp; }
|
|
pmr::monotonic_buffer_resource{};
|
|
pmr::monotonic_buffer_resource{pmr::allocator{}};
|
|
pmr::monotonic_buffer_resource{0};
|
|
pmr::monotonic_buffer_resource{0, pmr::allocator{}};
|
|
pmr::monotonic_buffer_resource{imp::span<imp::byte>{}};
|
|
pmr::monotonic_buffer_resource{imp::span<imp::byte>{}, pmr::allocator{}};
|
|
SUCCEED();
|
|
}
|