<commit_before>///
/// @file
/// @copyright Copyright (C) 2017, <NAME>
///
/// @brief Collection of Unit Tests for the AirSimToRos Node
///

#include <gtest/gtest.h>
#include <ros/time.h>
#include "airsimros_airsim_to_ros/airsim_to_ros.h"

TEST(AirSimToRosTestSuite, DefaultStatus)
{
    // ARRANGE
    auto airsim_to_ros = airsimros::AirSimToRos();

    // ACT
    auto airsim_to_ros_status = airsim_to_ros.GetStatus();

    // ASSERT
    ASSERT_EQ(airsim_to_ros_status, 0);
}

int main(int argc, char **argv)
{
    testing::InitGoogleTest(&argc, argv);
    return RUN_ALL_TESTS();
}<commit_msg>added test for Set() and Get()<commit_after>///
/// @file
/// @copyright Copyright (C) 2017, <NAME>
///
/// @brief Collection of Unit Tests for the AirSimToRos Node
///

#include <gtest/gtest.h>
#include <ros/time.h>
#include "airsimros_airsim_to_ros/airsim_to_ros.h"

TEST(AirSimToRosTestSuite, DefaultStatus)
{
    // ARRANGE
    auto airsim_to_ros = airsimros::AirSimToRos();

    // ACT
    auto airsim_to_ros_status = airsim_to_ros.GetStatus();

    // ASSERT
    ASSERT_EQ(airsim_to_ros_status, 0);
}

TEST(AirSimToRosTestSuite, SetAndGetStatus)
{
    // ARRANGE
    auto airsim_to_ros = airsimros::AirSimToRos();

    // ACT
    airsim_to_ros.SetStatus(42);
    auto airsim_to_ros_status = airsim_to_ros.GetStatus();

    // ASSERT
    ASSERT_EQ(airsim_to_ros_status, 42);
}

int main(int argc, char **argv)
{
    testing::InitGoogleTest(&argc, argv);
    return RUN_ALL_TESTS();
}
{'fraction_non_alphanumeric': 0.14016172506738545, 'fraction_numerical': 0.009433962264150943, 'mean_word_length': 3.699367088607595, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6978258', 'n_tokens_mistral': 580, 'n_tokens_neox': 554, 'n_words': 107}