#if GTEST // #include // not supported using Visual Studio 2022 compiler... #include #include #include "Participant.h" #include "Thing.h" using namespace RoboidControl; class ControlCoreSuite2 : public ::testing::Test { protected: // SetUp and TearDown can be used to set up and clean up before/after each // test void SetUp() override { // Initialize test data here } void TearDown() override { // Clean up test data here } }; TEST_F(ControlCoreSuite2, Dummytest2) { Participant participant = Participant("127.0.0.1", 7681); ASSERT_EQ(1, 1); } TEST_F(ControlCoreSuite2, Basic2) { Thing t = Thing(); unsigned long milliseconds = (unsigned long)std::chrono::steady_clock::now() .time_since_epoch() .count(); // Thing::UpdateAll(milliseconds); t.Update(milliseconds); } #endif