Re: [sympy] Writing Test cases in SymPy

2015-11-05 Thread Jason Moore
Thanks Aaron. Someone should copy this to a wiki page! Jason moorepants.info +01 530-601-9791 On Thu, Nov 5, 2015 at 8:28 AM, Aaron Meurer wrote: > I don't think there are any rules that would apply to every situation. > Some general things, though: > > - Tests should provide coverage of the c

Re: [sympy] Writing Test cases in SymPy

2015-11-05 Thread Aaron Meurer
I don't think there are any rules that would apply to every situation. Some general things, though: - Tests should provide coverage of the code. This is more than just lines covered (which is what the coverage tool will tell you). It really means you should cover all the possible code paths. - As

Re: [sympy] Regarding Contributing

2015-11-05 Thread Jason Moore
Het, You should read through this: https://github.com/sympy/sympy/wiki/introduction-to-contributing Let us know if you have any questions. Jason moorepants.info +01 530-601-9791 On Thu, Nov 5, 2015 at 6:58 AM, Het patel wrote: > Hi, >I am Het Patel studying in B.Tech (ICT), DAIICT, Gand

[sympy] Regarding Contributing

2015-11-05 Thread Het patel
Hi, I am Het Patel studying in B.Tech (ICT), DAIICT, Gandhinagar(India) wants to start contributing to your organization.Can anyone please guide me "How to Get started with contributing?" -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscr

[sympy] Re: Determining Christoffel Symbols and Curvature Tensors for a Flat Sphere using SymPy.Diffgeom

2015-11-05 Thread Imran Ali
If I simply hard code each metric, every thing works properly. For example, take egg carton surface, from sympy.diffgeom import Manifold, Patch, CoordSystem, TensorProduct from sympy import sin,cos dim = 2 m = Manifold("M",dim) patch = Patch("P",m) system = CoordSystem('eg