Updated unit test

This commit is contained in:
Matthias Koefferlein 2020-03-29 09:23:13 +02:00
parent e5735aff3a
commit c021d60d41
1 changed files with 2 additions and 2 deletions

View File

@ -386,7 +386,7 @@ TEST(6)
EXPECT_EQ (layers_to_string (ly), "1/0,3/10,2/0");
// this will create layer 2/0 in the layout
// this will create layer 2/42 in the layout
p = lm.logical (db::LayerProperties (2, 42), ly);
EXPECT_EQ (p.first, true);
EXPECT_EQ (p.second, (unsigned int) 3);
@ -404,6 +404,6 @@ TEST(6)
EXPECT_EQ (layers_to_string (ly), "1/0,3/10,2/0,2/42");
EXPECT_EQ (lm.to_string (),
"layer_map('1/0';'3/10-*';'2/0';'2/42';'2/1-41,43-* : */*')"
"layer_map('1/0';'3/10-*';'2/0 : 2/0';'2/42 : 2/42';'2/1-41,43-* : */*')"
);
}