| 27 | using ::testing::Eq; |
| 28 | |
| 29 | TEST(TrivialNameTest, Samples) { |
| 30 | auto mapper = GetTrivialNameMapper(); |
| 31 | EXPECT_EQ(mapper(1), "1"); |
| 32 | EXPECT_EQ(mapper(1999), "1999"); |
| 33 | EXPECT_EQ(mapper(1024), "1024"); |
| 34 | } |
| 35 | |
| 36 | // A test case for the name mappers that actually look at an assembled module. |
| 37 | struct NameIdCase { |
nothing calls this directly
no test coverage detected