Bug fixes, new test details

This commit is contained in:
Matthias Koefferlein
2025-08-03 21:31:55 +02:00
parent 7c0934ec8a
commit b6fba7bb69
6 changed files with 14 additions and 2 deletions
+12
View File
@@ -8,9 +8,11 @@ end
l1 = input(1, 0, enable_props)
l2 = input(2, 0, enable_props)
l3 = labels(3, 0, enable_props)
l1.output(1, 0)
l2.output(2, 0)
l3.output(3, 0)
l2.evaluated("put(2, to_f(value(17))*2.0)").output(10, 0)
l2.evaluated("put(2, to_f(value(17))*factor)", { "factor" => 3.0 }, true).output(11, 0)
@@ -52,3 +54,13 @@ d.select_if(aniso_and_scales("shape.bbox.width<=5")).output(44, 0)
l2.split_if("to_f(value(17))<3.0")[0].output(50, 0)
l2.split_if("to_f(value(17))<3.0")[1].output(51, 0)
# other types for evaluate
l3.evaluated("put(1, shape.string)").output(60, 0)
l1.edges.evaluated("put(1, shape.length)").output(61, 0)
l1.width(3.5.um).evaluated("put(1, shape.distance)").output(62, 0)
# other types for select_if
l3.selected_if("shape.string=='TEXT1'").output(70, 0)
l1.edges.selected_if("shape.length<3.5").output(71, 0)
l1.width(3.5.um).selected_if("shape.distance<2.5").output(72, 0)
Binary file not shown.
Binary file not shown.
Binary file not shown.