Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
filippobrizzi committed Oct 29, 2024
1 parent f829f3f commit c59c091
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/examples/tests/zenoh_tests.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#include <atomic>
#include <chrono>
#include <exception>
#include <memory>
#include <random>
#include <tuple>
#include <utility>

Expand All @@ -15,15 +13,12 @@
#include "hephaestus/ipc/topic.h"
#include "hephaestus/ipc/zenoh/publisher.h"
#include "hephaestus/ipc/zenoh/raw_subscriber.h"
#include "hephaestus/ipc/zenoh/service.h"
#include "hephaestus/ipc/zenoh/session.h"
#include "hephaestus/ipc/zenoh/subscriber.h"
#include "hephaestus/random/random_number_generator.h"

namespace heph::examples::types::tests {

namespace {
constexpr auto kSeed = 42; // NOLINT(readability-identifier-naming)

TEST(ZenohTests, WrongSubsriberTypeLargeIntoSmall) {
auto mt = random::createRNG();
Expand Down Expand Up @@ -73,4 +68,5 @@ TEST(ZenohTests, WrongSubsriberTypeSmallIntoLarge) {
EXPECT_THROW(std::ignore = publisher.publish(send_message);, std::exception);
}

} // namespace
} // namespace heph::examples::types::tests

0 comments on commit c59c091

Please sign in to comment.