|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <functional>#include <string>#include <core/inplace_function.h>Go to the source code of this file.
Macros | |
| #define | BOOST_TEST_NO_MAIN |
Functions | |
| BOOST_AUTO_TEST_CASE (MoveAssignAndInvoke) | |
| BOOST_AUTO_TEST_CASE (CopyKeepsSourceLive) | |
| BOOST_AUTO_TEST_CASE (MoveLeavesSourceEmpty) | |
| BOOST_AUTO_TEST_CASE (SelfAssignmentIsSafe) | |
| BOOST_AUTO_TEST_CASE (EmptyInvocationThrows) | |
| BOOST_AUTO_TEST_CASE (StringReturnType) | |
| #define BOOST_TEST_NO_MAIN |
Definition at line 19 of file test_inplace_function.cpp.
| BOOST_AUTO_TEST_CASE | ( | CopyKeepsSourceLive | ) |
Definition at line 46 of file test_inplace_function.cpp.
References BOOST_CHECK_EQUAL(), and copy.
| BOOST_AUTO_TEST_CASE | ( | EmptyInvocationThrows | ) |
Definition at line 76 of file test_inplace_function.cpp.
References empty().
| BOOST_AUTO_TEST_CASE | ( | MoveAssignAndInvoke | ) |
Definition at line 30 of file test_inplace_function.cpp.
References BOOST_AUTO_TEST_CASE(), and BOOST_CHECK_EQUAL().
| BOOST_AUTO_TEST_CASE | ( | MoveLeavesSourceEmpty | ) |
Definition at line 56 of file test_inplace_function.cpp.
References BOOST_CHECK_EQUAL().
| BOOST_AUTO_TEST_CASE | ( | SelfAssignmentIsSafe | ) |
Definition at line 66 of file test_inplace_function.cpp.
References BOOST_CHECK_EQUAL().
| BOOST_AUTO_TEST_CASE | ( | StringReturnType | ) |
Definition at line 82 of file test_inplace_function.cpp.
References BOOST_CHECK_EQUAL().