pmr.cpp

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#include <felspar/memory/pmr.hpp>
#include <felspar/test.hpp>


namespace {


    auto const suite = felspar::testsuite("pmr");


    auto const eq = suite.test("is_equal", [](auto check) {
        check(felspar::pmr::new_delete_resource()->is_equal(
                *felspar::pmr::new_delete_resource()))
                == true;
    });


}