mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-30 01:39:30 +02:00
Preparing tests for GSI class properties
This commit is contained in:
Vendored
+6
@@ -24,6 +24,12 @@ class Basic_TestClass < TestBase
|
||||
# for testing the ut logger:
|
||||
puts "Special chars: <&>"
|
||||
|
||||
# static (class) properties
|
||||
RBA::A.sp_i = 17
|
||||
assert_equal( RBA::A.sp_i, 18 )
|
||||
RBA::A.sp_i = -1
|
||||
assert_equal( RBA::A.sp_i, 0 )
|
||||
|
||||
GC.start
|
||||
|
||||
# all references of A are released now:
|
||||
|
||||
Reference in New Issue
Block a user