Hi,

If I have the following example Sage code,

var('x,a,b')
# Test 1
f1 = 1/(a*x+b)
aa = f1.integrate(x)
bb = 1/a*log(a*x+b)
aa_cmp = bb-aa # Should be zero
sage_time_f1 = timeit.eval('f1.integrate(x)')
friCAS_time_f1 = timeit.eval('axiom.integrate(f1,x)')

How do I write it as a test?

The code runs fine on the command line and I was thinking
of setting it up as a script, but when running as a script
it doesn't like the ^ for **. Suggestions? Or should I just
do a find-replace?

I'd like to run things in batch mode. I'll also try to
set up them for SymPy as well, but those need to run
separately because of how SymPy defines its variables.

Thanks,

Tim.

---
Tim Lahey
PhD Candidate, Systems Design Engineering
University of Waterloo

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to