Bug fixes, tests

This commit is contained in:
Matthias Koefferlein 2025-05-02 15:07:28 +02:00
parent b77b4d7d3c
commit 1932532416
3 changed files with 2 additions and 1 deletions

View File

@ -163,7 +163,7 @@ public:
virtual tl::XMLElementBase *xml_reader_options_element () const
{
return new db::ReaderOptionsXMLElement<db::MALYReaderOptions> ("mag",
return new db::ReaderOptionsXMLElement<db::MALYReaderOptions> ("maly",
tl::make_member (&db::MALYReaderOptions::dbu, "dbu") +
tl::make_member (&db::MALYReaderOptions::layer_map, "layer-map") +
tl::make_member (&db::MALYReaderOptions::create_other_layers, "create-other-layers")

View File

@ -134,6 +134,7 @@ TEST(2_Errors)
TEST(10_BasicLayout)
{
run_test (_this, tl::testdata (), "MALY_test10.maly", "maly_test10_au.oas");
run_test (_this, tl::testdata (), "MALY_test10.maly", "maly_test10_lm_au.oas", "A: 10, B: 11, C: 12, D: 13");
}
TEST(11_Titles)

BIN
testdata/maly/maly_test10_lm_au.oas vendored Normal file

Binary file not shown.