mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-18 21:23:02 +00:00
fixing warnings
This commit is contained in:
parent
1fadab3d08
commit
e572c8ebc1
@ -16,7 +16,7 @@
|
|||||||
* GNSS-SDR is free software: you can redistribute it and/or modify
|
* GNSS-SDR is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
* at your option) any later version.
|
* (at your option) any later version.
|
||||||
*
|
*
|
||||||
* GNSS-SDR is distributed in the hope that it will be useful,
|
* GNSS-SDR is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
@ -41,7 +41,7 @@ TEST(FileOutputFilter, Instantiate)
|
|||||||
config->set_property("Test.filename", file);
|
config->set_property("Test.filename", file);
|
||||||
config->set_property("Test.item_type", "float");
|
config->set_property("Test.item_type", "float");
|
||||||
std::unique_ptr<FileOutputFilter> output_filter(new FileOutputFilter(config.get(), "Test", 1, 0));
|
std::unique_ptr<FileOutputFilter> output_filter(new FileOutputFilter(config.get(), "Test", 1, 0));
|
||||||
unsigned int res = 0;
|
int res = 0;
|
||||||
if (output_filter) res = 1;
|
if (output_filter) res = 1;
|
||||||
ASSERT_EQ(1, res);
|
ASSERT_EQ(1, res);
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,7 @@ TEST_F(Fir_Filter_Test, Instantiate)
|
|||||||
{
|
{
|
||||||
init();
|
init();
|
||||||
std::unique_ptr<FirFilter> filter(new FirFilter(config.get(), "InputFilter", 1, 1, queue));
|
std::unique_ptr<FirFilter> filter(new FirFilter(config.get(), "InputFilter", 1, 1, queue));
|
||||||
unsigned int res = 0;
|
int res = 0;
|
||||||
if (filter) res = 1;
|
if (filter) res = 1;
|
||||||
ASSERT_EQ(1, res);
|
ASSERT_EQ(1, res);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user