io: test that mapped_file satisfies is_container_v
This commit is contained in:
parent
b4c8190054
commit
825d359b9d
@ -558,6 +558,7 @@ if (TESTS)
|
||||
hash/siphash
|
||||
hash/xxhash
|
||||
hton
|
||||
io
|
||||
introspection
|
||||
iterator
|
||||
job/queue
|
||||
|
13
test/io.cpp
Normal file
13
test/io.cpp
Normal file
@ -0,0 +1,13 @@
|
||||
#include "tap.hpp"
|
||||
|
||||
#include "io.hpp"
|
||||
#include "types/traits.hpp"
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
int main ()
|
||||
{
|
||||
cruft::TAP::logger tap;
|
||||
tap.expect (is_container_v<cruft::mapped_file>, "mapped_file is a container");
|
||||
return tap.status ();
|
||||
}
|
Loading…
Reference in New Issue
Block a user