Go to the documentation of this file.00001 #include <gtest/gtest.h>
00002
00003 #include <marble/GeoDataCoordinates.h>
00004
00005 #include "rqt_marble/bridge_ros_marble.h"
00006 #include "rqt_marble/marble_plugin.h"
00007
00008 TEST(TestBridgeRosMarble, nullArg)
00009 {
00010 rqt_marble::BridgeRosMarble bridge;
00011
00012
00013 Marble::Route route;
00014 Marble::GeoDataCoordinates *position1 = new Marble::GeoDataCoordinates(
00015 12.1, 14.3, 0.0, Marble::GeoDataCoordinates::Degree);
00016 rqt_cpp_common::RouteGps r = bridge.publishRouteInGps(route);
00017 EXPECT_EQ(1, sizeof(r.routes));
00018 }
00019
00020
00021
00022
00023
00024
00025
00026
00027 int main(int argc, char **argv)
00028 {
00029 ::testing::InitGoogleTest(&argc, argv);
00030 return RUN_ALL_TESTS();
00031 }