libuav original
Dependents: UAVCAN UAVCAN_Subscriber
dsdl_const_1.cpp
00001 /* 00002 * Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com> 00003 */ 00004 00005 #include <gtest/gtest.h> 00006 #include <uavcan/Timestamp.hpp> 00007 00008 /* 00009 * Objective of this test is to make sure that the generated types are being linked correcly. 00010 * This test requests the address of some static const member variables to make sure that there 00011 * will be no duplicated symbol linking errors. 00012 */ 00013 TEST(DsdlConst1, Timestamp) 00014 { 00015 using uavcan::Timestamp; 00016 00017 std::cout << &Timestamp::UNKNOWN << std::endl; 00018 }
Generated on Tue Jul 12 2022 17:17:31 by
1.7.2