dsdl_const_1.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
3  */
4 
5 #include <gtest/gtest.h>
6 #include <uavcan/Timestamp.hpp>
7 
8 /*
9  * Objective of this test is to make sure that the generated types are being linked correcly.
10  * This test requests the address of some static const member variables to make sure that there
11  * will be no duplicated symbol linking errors.
12  */
13 TEST(DsdlConst1, Timestamp)
14 {
15  using uavcan::Timestamp;
16 
17  std::cout << &Timestamp::UNKNOWN << std::endl;
18 }
TEST
TEST(DsdlConst1, Timestamp)
Definition: dsdl_const_1.cpp:13


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:02