mirror of https://github.com/KLayout/klayout.git
More tests for enhanced features mode in GDS2
This commit is contained in:
parent
6fd689e3c5
commit
96cf0b640d
|
|
@ -1927,10 +1927,10 @@ TEST(205_extended_props)
|
||||||
{
|
{
|
||||||
TempPropertiesRepository temp_pr;
|
TempPropertiesRepository temp_pr;
|
||||||
|
|
||||||
db::GDS2WriterOptions gds2_opt;
|
|
||||||
gds2_opt.extended_features = false;
|
|
||||||
db::SaveLayoutOptions options;
|
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;
|
db::PropertiesSet ps1;
|
||||||
ps1.insert (tl::Variant ("prop_name"), db::DBox (0, 0, 1.5, 2.5));
|
ps1.insert (tl::Variant ("prop_name"), db::DBox (0, 0, 1.5, 2.5));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue