| 23 | namespace { |
| 24 | |
| 25 | TEST(JoinAllInsts, Cases) { |
| 26 | EXPECT_EQ("", JoinAllInsts({})); |
| 27 | EXPECT_EQ("a\n", JoinAllInsts({"a"})); |
| 28 | EXPECT_EQ("a\nb\n", JoinAllInsts({"a", "b"})); |
| 29 | EXPECT_EQ("a\nb\nc\n", JoinAllInsts({"a", "b", "c"})); |
| 30 | EXPECT_EQ("hello,\nworld!\n\n\n", JoinAllInsts({"hello,", "world!", "\n"})); |
| 31 | } |
| 32 | |
| 33 | TEST(JoinNonDebugInsts, Cases) { |
| 34 | EXPECT_EQ("", JoinNonDebugInsts({})); |
nothing calls this directly
no test coverage detected