Merge "Set the floor value of time estimate as 2017 Jan 01 00:00:00 GMT" into pie-vts-dev

This commit is contained in:
Treehugger Robot 2018-08-29 23:59:34 +00:00 committed by Gerrit Code Review
commit 4e0c7c1760

View file

@ -439,7 +439,7 @@ TEST_F(GnssHalTest, GnssDebugValuesSanityTest) {
EXPECT_GE(data.position.ageSeconds, 0); EXPECT_GE(data.position.ageSeconds, 0);
} }
EXPECT_GE(data.time.timeEstimate, 1514764800000); // Jan 01 2018 00:00:00 EXPECT_GE(data.time.timeEstimate, 1483228800000); // Jan 01 2017 00:00:00 GMT.
EXPECT_GT(data.time.timeUncertaintyNs, 0); EXPECT_GT(data.time.timeUncertaintyNs, 0);