[Fwd: Testsuite interaction: declare(integrate, noun)]



-----Forwarded Message-----

From: CRTS" <David.Billinghurst at riotinto>
To: amundson@fnal.gov
Subject: Testsuite interaction: declare(integrate, noun)
Date: 01 Oct 2002 09:26:47 +1000

Jim,

Can you post this to the maxima list.  My attempts are failing.


-----Original Message-----
From: CRTS 
Sent: Monday, 30 September 2002 5:29 
To: 'maxima@www.ma.utexas.edu'
Subject: Testsuite interaction: declare(integrate, noun)


Some tests in rtestode.mac are commented out.  They pass if
the test is run in isolation, but fail due to interference from 
previous test files.  Some cut and paste shows that files
rtest3.mac and rtest12.mac cause failures in rtestode.mac.
(The failing tests are commented out at present).

I have generated a reduced case.  Running the two line
rtest3.mac before the four line rtestode.mac ends in failure.

How does one undo a DECLARE(INTEGRATE,NOUN); ?

/* rtest3.mac */
DECLARE(INTEGRATE,NOUN);
DONE$

/* rtestode.mac */
kill(all);
done;
ode2(x^2*cos(x*y)*'diff(y,x) + (sin(x*y)+x*y*(cos(x*y)))=0, y, x);
x*sin(x*y)=%C;

##### Test output ###

Testing rtestode.mac
/* ********************** Problem 1. *************** */
%Input is
KILL(ALL)


The result is
DONE

..Which was correct
/* ********************** Problem 2. *************** */
%Input is
                                2          dy
ODE2(x y COS(x y) + SIN(x y) + x  COS(x y) -- = 0, y, x)
                                           dx


The result is
             /
             [
x SIN(x y) + I 0 dy = %C
             ]
             /

Using ratsimp
Using ratsimp
This differed from the expected result:
x SIN(x y) = %C

The number of differences found was 1 in problems: (2)
Error summary:
Error(s) found in rtestode.mac: (2)