コード例 #1
0
 public void MessageDescriptorFactory_supports_type_with_RosMessageTypeAttribute_generic()
 {
     AttributeBasedRosMessageDescriptorFactory.CanCreate(typeof(Point)).Should().BeTrue();
 }
コード例 #2
0
        public void Can_create_descriptor()
        {
            var messageDescriptor = AttributeBasedRosMessageDescriptorFactory.Create <Point>();

            messageDescriptor.Should().NotBeNull();
        }