mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 12:10:34 +00:00
Do not have two files with the same name
This commit is contained in:
parent
035f2af458
commit
df6d8eacb5
@ -92,7 +92,7 @@ DECLARE_string(log_dir);
|
||||
#include "unit-tests/signal-processing-blocks/sources/gnss_sdr_valve_test.cc"
|
||||
#include "unit-tests/signal-processing-blocks/sources/unpack_2bit_samples_test.cc"
|
||||
// #include "unit-tests/signal-processing-blocks/acquisition/glonass_l2_ca_pcps_acquisition_test.cc"
|
||||
#include "unit-tests/signal-processing-blocks/libs/item_type_helpers.cc"
|
||||
#include "unit-tests/signal-processing-blocks/libs/item_type_helpers_test.cc"
|
||||
|
||||
#if OPENCL_BLOCKS_TEST
|
||||
#include "unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_opencl_acquisition_gsoc2013_test.cc"
|
||||
|
@ -72,6 +72,7 @@ public:
|
||||
std::array<float, 2 * N> float_array_out;
|
||||
};
|
||||
|
||||
|
||||
TEST_F(ItemTypeHelpersTest, CheckValidTypes)
|
||||
{
|
||||
for (auto &valid_type : valid_item_types)
|
||||
@ -85,6 +86,7 @@ TEST_F(ItemTypeHelpersTest, CheckValidTypes)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
TEST_F(ItemTypeHelpersTest, CheckSizes)
|
||||
{
|
||||
EXPECT_EQ(item_type_size("byte"), 1);
|
||||
@ -98,13 +100,13 @@ TEST_F(ItemTypeHelpersTest, CheckSizes)
|
||||
EXPECT_EQ(item_type_size("float"), 4);
|
||||
EXPECT_EQ(item_type_size("gr_complex"), 8);
|
||||
|
||||
|
||||
for (auto &invalid_type : invalid_item_types)
|
||||
{
|
||||
EXPECT_EQ(item_type_size(invalid_type), 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
TEST_F(ItemTypeHelpersTest, CheckMakeConverters)
|
||||
{
|
||||
for (auto &input_type : valid_item_types)
|
||||
@ -126,6 +128,7 @@ TEST_F(ItemTypeHelpersTest, CheckMakeConverters)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
TEST_F(ItemTypeHelpersTest, CheckConversionsReal)
|
||||
{
|
||||
std::string input_type = "byte";
|
||||
@ -180,6 +183,7 @@ TEST_F(ItemTypeHelpersTest, CheckConversionsReal)
|
||||
EXPECT_TRUE(std::equal(float_array_in.begin(), float_array_in.begin() + N, float_array_out.begin()));
|
||||
}
|
||||
|
||||
|
||||
TEST_F(ItemTypeHelpersTest, CheckConversionsComplex)
|
||||
{
|
||||
std::string input_type = "cbyte";
|
Loading…
Reference in New Issue
Block a user