OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
util_unit_tests.hpp
1/*
2 * util_unit_tests.hpp
3 *
4 * Created on: Oct 2, 2019
5 * Author: i-bird
6 */
7
8#ifndef UTIL_UNIT_TESTS_HPP_
9#define UTIL_UNIT_TESTS_HPP_
10
11BOOST_AUTO_TEST_SUITE( util_test_test )
12
13BOOST_AUTO_TEST_CASE( align_number_test )
14{
15 BOOST_REQUIRE_EQUAL(align_number(8,3),8);
16 BOOST_REQUIRE_EQUAL(align_number(8,9),16);
17
18 BOOST_REQUIRE_EQUAL(align_number(3,3),3);
19 BOOST_REQUIRE_EQUAL(align_number(3,7),9);
20}
21
22BOOST_AUTO_TEST_SUITE_END()
23
24
25#endif /* UTIL_UNIT_TESTS_HPP_ */