mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
Expr_NamedUnknown.cxx - wrong comparing of named unknown is fixed QABugs_20.cxx - new QAcommand is created QABugs_11.cxx - wrong command is corrected bug902 - wrong test is corrected bug31697 - new test is added
26 lines
441 B
Plaintext
26 lines
441 B
Plaintext
puts "======="
|
|
puts "OCC31697 - Expr_GeneralExpression::Derivative does not seem to work"
|
|
puts "======="
|
|
puts ""
|
|
|
|
|
|
pload QAcommands
|
|
|
|
set exp Exp(2*Sin(x^2))
|
|
set var x
|
|
set list [OCC31697 $exp $var]
|
|
|
|
set we_have [lindex $list 10]
|
|
puts "we_have = $we_have"
|
|
|
|
set must_be "Exp(2*Sin(x^2))*Cos(x^2)*x*4"
|
|
puts "must_be = $must_be"
|
|
|
|
|
|
if {[string compare $we_have $must_be] == 0} {
|
|
puts "OCC31697 OK"
|
|
} else {
|
|
puts "OCC31697 Faulty"
|
|
}
|
|
|