More tests for enhanced features mode in GDS2

This commit is contained in:
Matthias Koefferlein 2026-02-22 23:50:32 +01:00
parent 6fd689e3c5
commit 96cf0b640d
1 changed files with 3 additions and 3 deletions

View File

@ -1927,10 +1927,10 @@ TEST(205_extended_props)
{
TempPropertiesRepository temp_pr;
db::GDS2WriterOptions gds2_opt;
gds2_opt.extended_features = false;
db::SaveLayoutOptions options;
options.set_options (gds2_opt);
EXPECT_EQ (options.get_option_by_name ("extended_features").to_bool (), true);
options.set_option_by_name ("extended_features", false);
EXPECT_EQ (options.get_option_by_name ("extended_features").to_bool (), false);
db::PropertiesSet ps1;
ps1.insert (tl::Variant ("prop_name"), db::DBox (0, 0, 1.5, 2.5));