reference_id.cpp
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 #include "common.h"
00012 
00013 using namespace testing;
00014 using namespace OpcUa;
00015 
00016 TEST(ReferenceIdFromNodeId, CanBeConvertedFromValidNodeId)
00017 {
00018   NodeId id(ReferenceId::HasChild);
00019   ASSERT_EQ(id.Encoding, EV_NUMERIC);
00020   ASSERT_EQ(id.NumericData.NamespaceIndex, 0);
00021   ASSERT_EQ(static_cast<ReferenceId>(id.NumericData.Identifier), ReferenceId::HasChild);
00022 }
00023 


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Sat Jun 8 2019 18:24:56