Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
3d097a032This file is pinned to the selected release. Download the original to open it in your design tool.
puts "========"
puts "0026269: Modeling Data - Analytical extrema does not take into account trimmed input data"
puts "========"
puts ""
#case 1
line l1 0 0 0 1 0 0
line l2 2 2 0 1 0 0
trim l1 l1 0 1
trim l2 l2 0 1
set res_extrema [extrema l1 l2]
if { [regexp "Infinite number of extremas" $res_extrema] == 0} {
if {[llength $res_extrema] != 1} {
puts "Error : expected 1 extrema, but found [llength $res_extrema]"
}
} else {
puts "Error : Infinite number of extremas is found"
}
smallview +X+Y
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png