From 8091464916dab6a15cf885268850e607234043fb Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Fri, 11 Feb 2022 19:12:57 +0100 Subject: [PATCH] Fixed unit tests --- testdata/ruby/dbLayoutQuery.rb | 2 +- testdata/ruby/dbTransTest.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testdata/ruby/dbLayoutQuery.rb b/testdata/ruby/dbLayoutQuery.rb index d55b7fc28..42d363aff 100644 --- a/testdata/ruby/dbLayoutQuery.rb +++ b/testdata/ruby/dbLayoutQuery.rb @@ -64,7 +64,7 @@ class DBLayoutQuery_TestClass < TestBase def test_3 q = RBA::LayoutQuery::new("delete TOP") - assert_equal(q.property_names.sort.join(","), "bbox,cell,cell_bbox,cell_index,cell_name,hier_levels,initial_cell,initial_cell_index,initial_cell_name,inst,instances,path,path_names,path_trans,references,shape,tot_weight,weight") + assert_equal(q.property_names.sort.join(","), "bbox,cell,cell_bbox,cell_dbbox,cell_index,cell_name,dbbox,hier_levels,initial_cell,initial_cell_index,initial_cell_name,inst,instances,path,path_dtrans,path_names,path_trans,references,shape,tot_weight,weight") end diff --git a/testdata/ruby/dbTransTest.rb b/testdata/ruby/dbTransTest.rb index df24c8716..f97d32096 100644 --- a/testdata/ruby/dbTransTest.rb +++ b/testdata/ruby/dbTransTest.rb @@ -80,7 +80,7 @@ class DBTrans_TestClass < TestBase assert_equal( RBA::Trans::new(RBA::Trans::R180, RBA::DVector::new(5,-7)).to_s, "r180 5,-7" ) assert_equal( RBA::Trans::new(RBA::Trans::R180).to_s, "r180 0,0" ) - assert_equal( e.trans( 2.0 ).to_s, "2" ) + assert_equal( e.ctrans( 2.0 ).to_s, "2" ) assert_equal( (e * 2.0).to_s, "2" ) assert_equal( e.trans( RBA::Edge::new(0, 1, 2, 3) ).to_s, "(-3,-2;-1,0)" ) assert_equal( ( e * RBA::Edge::new(0, 1, 2, 3) ).to_s, "(-3,-2;-1,0)" )