mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-09-14 15:16:40 +00:00
* unit test no longer valid
This commit is contained in:
@@ -50,6 +50,8 @@ public:
|
|||||||
const std::string& text() const { return _text; }
|
const std::string& text() const { return _text; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
// Re-enable test once we can SET fem_ values in companion
|
||||||
TEST(CompanionNodePrefs, RxGainSettingsRoundTripIndependently) {
|
TEST(CompanionNodePrefs, RxGainSettingsRoundTripIndependently) {
|
||||||
NodePrefs saved;
|
NodePrefs saved;
|
||||||
saved.rx_boosted_gain = 0;
|
saved.rx_boosted_gain = 0;
|
||||||
@@ -73,6 +75,7 @@ TEST(CompanionNodePrefs, RxGainSettingsRoundTripIndependently) {
|
|||||||
EXPECT_EQ(0, loaded.radio_fem_rxgain);
|
EXPECT_EQ(0, loaded.radio_fem_rxgain);
|
||||||
EXPECT_EQ(1, loaded.radio_fem_txgain);
|
EXPECT_EQ(1, loaded.radio_fem_txgain);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
::testing::InitGoogleTest(&argc, argv);
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
|
|||||||
Reference in New Issue
Block a user