2018-12-17 12:35:45 +11:00
|
|
|
#include "array/parray.hpp"
|
|
|
|
|
|
|
|
#include "tap.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
int
|
|
|
|
main ()
|
|
|
|
{
|
2018-12-17 12:41:01 +11:00
|
|
|
static_assert (is_container_v<cruft::parray<int>>);
|
|
|
|
|
2018-12-17 12:35:45 +11:00
|
|
|
cruft::TAP::logger tap;
|
|
|
|
|
|
|
|
int raw[3] = { -5, 9, 0 };
|
|
|
|
cruft::parray wrapped (raw);
|
|
|
|
|
|
|
|
tap.expect (equal (raw, wrapped), "comparison of array and parray");
|
|
|
|
|
|
|
|
return tap.status ();
|
|
|
|
}
|