| 336 | } |
| 337 | |
| 338 | static std::string layers_to_string (const db::Layout &ly) |
| 339 | { |
| 340 | std::string s; |
| 341 | |
| 342 | for (unsigned int i = 0; i < ly.layers (); ++i) { |
| 343 | if (ly.is_valid_layer (i)) { |
| 344 | if (! s.empty ()) { |
| 345 | s += ","; |
| 346 | } |
| 347 | s += ly.get_properties (i).to_string (); |
| 348 | } |
| 349 | } |
| 350 | |
| 351 | return s; |
| 352 | } |
| 353 | |
| 354 | TEST(6) |
| 355 | { |
no test coverage detected