mirror of https://github.com/KLayout/klayout.git
Netlist normalization for unit tests also for RBA test.
This commit is contained in:
parent
5fe67e802f
commit
0003c38918
|
|
@ -116,7 +116,13 @@ class DBLayoutToNetlist_TestClass < TestBase
|
|||
tmp = File::join($ut_testtmp, "tmp2.txt")
|
||||
nl.write(tmp, writer, "A comment")
|
||||
|
||||
assert_equal(File.open(tmp, "r").read, File.open(input, "r").read)
|
||||
a = File.open(tmp, "r").read
|
||||
a = a.gsub(/e-00/, "e-0").gsub(/e-0/, "e-")
|
||||
|
||||
b = File.open(input, "r").read
|
||||
b = a.gsub(/e-00/, "e-0").gsub(/e-0/, "e-")
|
||||
|
||||
assert_equal(a, b)
|
||||
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue