mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-07 11:31:08 +02:00
Maybe fixing tests for Windows
This commit is contained in:
Vendored
+1
-1
@@ -3177,7 +3177,7 @@ class Basic_TestClass < TestBase
|
||||
assert_equal(RBA::A::var2s([ 0.5, "hello" ]), "(##0.5,'hello')")
|
||||
assert_equal(RBA::A::var2s([ 0.5, [ 1, 2 ] ]), "(##0.5,(#1,#2))")
|
||||
assert_equal(RBA::A::var2s({ 1 => 'one', 'two' => 17 }), "{#1=>'one','two'=>#17}")
|
||||
if RBA::A::ll_size == 4
|
||||
if RBA::A::l_size == 4
|
||||
assert_equal(RBA::A::var2s(100000000000), "#l100000000000")
|
||||
else
|
||||
assert_equal(RBA::A::var2s(100000000000), "#100000000000")
|
||||
|
||||
Vendored
+1
@@ -450,6 +450,7 @@ class LAYLayoutView_TestClass < TestBase
|
||||
|
||||
img = lv.get_pixels_with_options(500, 500, 1, 1, 1.0, RBA::DBox::new)
|
||||
au = RBA::PixelBuffer.read_png(File.join($ut_testsrc, "testdata/lay/au_lv1.png"))
|
||||
img.write_png("/home/matthias/tmp.png")
|
||||
if au
|
||||
assert_equal(au == img, true)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user