OpenFPM_pdata
4.1.0
Project that contain the implementation of distributed structures
Loading...
Searching...
No Matches
map_vector_std_util_unit_test.hpp
1
/*
2
* map_vector_std_util_unit_test.hpp
3
*
4
* Created on: May 14, 2016
5
* Author: i-bird
6
*/
7
8
#ifndef OPENFPM_DATA_SRC_VECTOR_MAP_VECTOR_STD_UTIL_UNIT_TEST_HPP_
9
#define OPENFPM_DATA_SRC_VECTOR_MAP_VECTOR_STD_UTIL_UNIT_TEST_HPP_
10
11
#include "map_vector_std_util.hpp"
12
#include "map_vector_std.hpp"
13
14
BOOST_AUTO_TEST_SUITE( util_test )
15
16
BOOST_AUTO_TEST_CASE( map_vector_std_util )
17
{
19
20
bool
ret =
has_base_to_copy< openfpm::vector<float>
>::value;
21
22
BOOST_REQUIRE_EQUAL(ret,
true
);
23
24
ret =
has_base_to_copy< openfpm::vector<float,PtrMemory>
>::value;
25
26
BOOST_REQUIRE_EQUAL(ret,
false
);
27
29
}
30
31
BOOST_AUTO_TEST_SUITE_END()
32
33
#endif
/* OPENFPM_DATA_SRC_VECTOR_MAP_VECTOR_STD_UTIL_UNIT_TEST_HPP_ */
has_base_to_copy
Definition
map_vector_std_util.hpp:164
openfpm_data
src
Vector
map_vector_std_util_unit_test.hpp
Generated by
1.9.8