Fix round trip tests that weren't instantiated (#3417)

Need to actually instantiate them with TEST_P in the same source file.

Remove the instantiation of RoundTripTest from unit.cpp because
it's viewed as having no instantiations.
This commit is contained in:
David Neto
2020-06-10 08:11:46 -07:00
committed by GitHub
parent 1d73b5bd03
commit f04eaee63d
3 changed files with 20 additions and 11 deletions
-5
View File
@@ -47,10 +47,5 @@ TEST(WordVectorPrintTo, PreservesFlagsAndFill) {
EXPECT_THAT(s.str(), Eq("xx10 0x0000000a 0x00000010 xx11"));
}
TEST_P(RoundTripTest, Sample) {
EXPECT_THAT(EncodeAndDecodeSuccessfully(GetParam()), Eq(GetParam()))
<< GetParam();
}
} // namespace
} // namespace spvtools