mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-07 03:21:34 +02:00
Implemented solution for issue #1249 (persist layer properties in session)
This commit is contained in:
Vendored
+6
@@ -667,12 +667,18 @@ class LAYLayers_TestClass < TestBase
|
||||
p.clear_line_style
|
||||
assert_equal( p.has_line_style?, false )
|
||||
|
||||
assert_equal( p.is_expanded?, false )
|
||||
p.expanded = true
|
||||
assert_equal( p.is_expanded?, true )
|
||||
|
||||
pp = RBA::LayerPropertiesNode::new
|
||||
assert_equal( pp == p, false )
|
||||
assert_equal( pp != p, true )
|
||||
assert_equal( pp.is_expanded?, false )
|
||||
pp = p.dup
|
||||
assert_equal( pp == p, true )
|
||||
assert_equal( pp != p, false )
|
||||
assert_equal( pp.is_expanded?, true )
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user