mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
clang-format
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
#include "catch.hpp"
|
||||
#include "sls/ClientSocket.h"
|
||||
#include "sls/ServerSocket.h"
|
||||
#include "catch.hpp"
|
||||
#include <chrono>
|
||||
#include <future>
|
||||
#include <iostream>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "catch.hpp"
|
||||
#include "sls/StaticVector.h"
|
||||
#include "sls/TypeTraits.h"
|
||||
#include "catch.hpp"
|
||||
|
||||
#include <array>
|
||||
#include <sstream>
|
||||
|
2
slsSupportLib/tests/test-Timer.cpp
Executable file → Normal file
2
slsSupportLib/tests/test-Timer.cpp
Executable file → Normal file
@ -1,5 +1,5 @@
|
||||
#include "sls/Timer.h"
|
||||
#include "catch.hpp"
|
||||
#include "sls/Timer.h"
|
||||
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "catch.hpp"
|
||||
#include "sls/TimeHelper.h"
|
||||
#include "sls/ToString.h"
|
||||
#include "catch.hpp"
|
||||
#include "sls/network_utils.h"
|
||||
#include "sls/sls_detector_defs.h"
|
||||
#include <array>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "sls/TypeTraits.h"
|
||||
#include "catch.hpp"
|
||||
#include "sls/TypeTraits.h"
|
||||
#include <array>
|
||||
#include <chrono>
|
||||
#include <initializer_list>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "sls/UdpRxSocket.h"
|
||||
#include "catch.hpp"
|
||||
#include "sls/UdpRxSocket.h"
|
||||
#include "sls/sls_detector_exceptions.h"
|
||||
#include <cstdint>
|
||||
#include <errno.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "sls/ZmqSocket.h"
|
||||
#include "catch.hpp"
|
||||
#include "sls/ZmqSocket.h"
|
||||
|
||||
TEST_CASE("Throws when cannot create socket") {
|
||||
REQUIRE_THROWS(ZmqSocket("sdiasodjajpvv", 5076001));
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "sls/bit_utils.h"
|
||||
#include "catch.hpp"
|
||||
#include "sls/bit_utils.h"
|
||||
#include <vector>
|
||||
|
||||
TEST_CASE("Get set bits from 0") {
|
||||
|
@ -66,7 +66,7 @@ TEST_CASE("Many characters in a row") {
|
||||
REQUIRE(std::string(str) == "someeequite::ongstring");
|
||||
}
|
||||
|
||||
TEST_CASE("Check is string is integer"){
|
||||
TEST_CASE("Check is string is integer") {
|
||||
|
||||
REQUIRE(sls::is_int("75"));
|
||||
REQUIRE(sls::is_int("11675"));
|
||||
|
Reference in New Issue
Block a user