1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-05-20 08:14:09 +00:00
Carles Fernandez 2017-07-11 12:22:05 +02:00
parent d89be37c4a
commit f84fe9e31f

View File

@ -79,7 +79,7 @@ std::vector< uint8_t > packData( std::vector< int8_t > const & raw_data,
}
TEST(Unpack_2bit_Samples_Test, CheckBigEndianByte)
TEST(Unpack2bitSamplesTest, CheckBigEndianByte)
{
bool big_endian_bytes = true;
size_t item_size = 1;
@ -90,7 +90,7 @@ TEST(Unpack_2bit_Samples_Test, CheckBigEndianByte)
std::vector< uint8_t > packed_data = packData( raw_data, big_endian_bytes );
std::vector< uint8_t > unpacked_data;
gr::top_block_sptr top_block = gr::make_top_block("unpack_2bit_samples_test");
gr::top_block_sptr top_block = gr::make_top_block("Unpack2bitSamplesTest");
gr::blocks::vector_source_b::sptr source =
gr::blocks::vector_source_b::make( packed_data );
@ -126,7 +126,7 @@ TEST(Unpack_2bit_Samples_Test, CheckBigEndianByte)
}
TEST(Unpack_2bit_Samples_Test, CheckLittleEndianByte)
TEST(Unpack2bitSamplesTest, CheckLittleEndianByte)
{
bool big_endian_bytes = false;
size_t item_size = 1;
@ -137,7 +137,7 @@ TEST(Unpack_2bit_Samples_Test, CheckLittleEndianByte)
std::vector< uint8_t > packed_data = packData( raw_data, big_endian_bytes );
std::vector< uint8_t > unpacked_data;
gr::top_block_sptr top_block = gr::make_top_block("unpack_2bit_samples_test");
gr::top_block_sptr top_block = gr::make_top_block("Unpack2bitSamplesTest");
gr::blocks::vector_source_b::sptr source =
gr::blocks::vector_source_b::make( packed_data );
@ -173,7 +173,7 @@ TEST(Unpack_2bit_Samples_Test, CheckLittleEndianByte)
}
TEST(Unpack_2bit_Samples_Test, CheckBigEndianShortBigEndianByte)
TEST(Unpack2bitSamplesTest, CheckBigEndianShortBigEndianByte)
{
bool big_endian_bytes = true;
size_t item_size = 2;
@ -205,7 +205,7 @@ TEST(Unpack_2bit_Samples_Test, CheckBigEndianShortBigEndianByte)
std::vector< uint8_t > unpacked_data;
gr::top_block_sptr top_block = gr::make_top_block("unpack_2bit_samples_test");
gr::top_block_sptr top_block = gr::make_top_block("Unpack2bitSamplesTest");
gr::blocks::vector_source_s::sptr source =
gr::blocks::vector_source_s::make( packed_data_short );
@ -241,7 +241,7 @@ TEST(Unpack_2bit_Samples_Test, CheckBigEndianShortBigEndianByte)
}
TEST(Unpack_2bit_Samples_Test, CheckBigEndianShortLittleEndianByte)
TEST(Unpack2bitSamplesTest, CheckBigEndianShortLittleEndianByte)
{
bool big_endian_bytes = false;
size_t item_size = 2;
@ -273,7 +273,7 @@ TEST(Unpack_2bit_Samples_Test, CheckBigEndianShortLittleEndianByte)
std::vector< uint8_t > unpacked_data;
gr::top_block_sptr top_block = gr::make_top_block("unpack_2bit_samples_test");
gr::top_block_sptr top_block = gr::make_top_block("Unpack2bitSamplesTest");
gr::blocks::vector_source_s::sptr source =
gr::blocks::vector_source_s::make( packed_data_short );