1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

Remove unrequired includes

This commit is contained in:
Carles Fernandez 2018-01-26 15:12:55 +01:00
parent 301a35b2e2
commit 749771ac3b
2 changed files with 9 additions and 7 deletions

View File

@ -31,8 +31,6 @@
*/
#include <complex>
#include <iostream>
#include "gnss_signal_processing.h"
#include "glonass_gnav_ephemeris.h"
@ -63,6 +61,7 @@ TEST(GlonassGnavEphemerisTest, ComputeGlonassTime)
ASSERT_TRUE(expected_gtime.seconds() - t.seconds() < FLT_EPSILON );
}
/*!
* \brief Testing conversion from GLONASST to GPST
* \test Tests scenario for N_T when greater than 365 days. Possible values here from 1 to 365*4
@ -88,6 +87,7 @@ TEST(GlonassGnavEphemerisTest, ConvertGlonassT2GpsT1)
ASSERT_TRUE(tow - true_tow < FLT_EPSILON );
}
/*!
* \brief Testing conversion from GLONASST to GPST
* \test This version tests the conversion for offsets greater than 30 in a leap year
@ -113,6 +113,7 @@ TEST(GlonassGnavEphemerisTest, ConvertGlonassT2GpsT2)
ASSERT_TRUE(tow - true_tow < FLT_EPSILON );
}
/*!
* \brief Testing conversion from GLONASST to GPST
* \test This version tests the conversion around the vicinity of February 29 days when in leap year

View File

@ -31,11 +31,6 @@
* -------------------------------------------------------------------------
*/
#include <complex>
#include <ctime>
#include <complex>
#include <ctime>
#include "gnss_signal_processing.h"
#include "glonass_gnav_navigation_message.h"
@ -59,6 +54,7 @@ TEST(GlonassGnavNavigationMessageTest, CRCTestSuccess)
ASSERT_TRUE(test_result);
}
/*!
* \brief Testing CRC computation for GLONASS GNAV data bits of a string
* \test The provided string was generated with a version of MATLAB GNSS-SDR that
@ -80,6 +76,7 @@ TEST(GlonassGnavNavigationMessageTest, CRCTestFailure)
ASSERT_FALSE(test_result);
}
/*!
* \brief Testing string decoding for GLONASS GNAV messages
* \test The provided string (str1.....str15) was generated with a version of
@ -112,6 +109,7 @@ TEST(GlonassGnavNavigationMessageTest, String1Decoder)
ASSERT_TRUE(gnav_ephemeris.d_Xn - gnav_nav_message.gnav_ephemeris.d_Xn < FLT_EPSILON );
}
/*!
* \brief Testing string decoding for GLONASS GNAV messages
* \test The provided string (str1.....str15) was generated with a version of
@ -148,6 +146,7 @@ TEST(GlonassGnavNavigationMessageTest, String2Decoder)
ASSERT_TRUE(gnav_ephemeris.d_Yn - gnav_nav_message.gnav_ephemeris.d_Yn < FLT_EPSILON );
}
/*!
* \brief Testing string decoding for GLONASS GNAV messages
* \test The provided string (str1.....str15) was generated with a version of
@ -185,6 +184,7 @@ TEST(GlonassGnavNavigationMessageTest, String3Decoder)
ASSERT_TRUE(gnav_ephemeris.d_Zn - gnav_nav_message.gnav_ephemeris.d_Zn < FLT_EPSILON );
}
/*!
* \brief Testing string decoding for GLONASS GNAV messages
* \test The provided string (str1.....str15) was generated with a version of
@ -224,6 +224,7 @@ TEST(GlonassGnavNavigationMessageTest, String4Decoder)
ASSERT_TRUE(gnav_ephemeris.d_M - gnav_nav_message.gnav_ephemeris.d_M < FLT_EPSILON );
}
/*!
* \brief Testing string decoding for GLONASS GNAV messages
* \test The provided string (str1.....str15) was generated with a version of