| 29 | |
| 30 | #ifdef FMT_RANGES_TEST_ENABLE_C_STYLE_ARRAY |
| 31 | TEST(ranges_test, format_array) { |
| 32 | int arr[] = {1, 2, 3, 5, 7, 11}; |
| 33 | EXPECT_EQ(fmt::format("{}", arr), "[1, 2, 3, 5, 7, 11]"); |
| 34 | } |
| 35 | |
| 36 | TEST(ranges_test, format_2d_array) { |
| 37 | int arr[][2] = {{1, 2}, {3, 5}, {7, 11}}; |
nothing calls this directly
no test coverage detected