Here is the pull request https://github.com/sympy/sympy/pull/14701

The tests should be included with the pull request, not after it is
merged. The tests are what tells us that the code is correct and
doesn't have bugs.

> Presently if I try to set up tests I can't call the functions I've defined as 
> they're not part of sympy, i.e. 'from sympy.concrete.zeilberger import 
> zb_recur' isn't something that works.

It should work if you put the test file in
sympy/concrete/test_zeilberger.py. Then run the tests using ./bin/test
zeilberger

> Along the lines of tidying up, a question, I want to use linsolve, but the 
> solution may have some free variables, I would like to set all the free 
> variables to 0 except for one, which should become 1. At present I find the 
> first free variable, and then set all variables to 0 except this one, is 
> there are more pleasant way to do this?

You might need to use the Matrix methods directly, like M.nullspace()
and so on.

Aaron Meurer

On Sun, May 6, 2018 at 4:06 PM,  <[email protected]> wrote:
> I decided to put it as a patch request.
>
> Am I correct in thinking that tests are implemented after the merge to
> master? Presently if I try to set up tests I can't call the functions I've
> defined as they're not part of sympy, i.e. 'from sympy.concrete.zeilberger
> import zb_recur' isn't something that works.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/623f2b62-25a0-483f-80e8-9073a3eba789%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6JRzWUXAXo1VBOhB0LBK4RRz6dSzO6u28VP3hgQZp0QZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to