Commit Graph

208 Commits

Author SHA1 Message Date
Lafrite 981c8db0e5 Add compute_exp in simplified 2014-12-21 19:13:52 +01:00
Lafrite 1729ef1d24 add test on eval 2014-12-21 19:13:34 +01:00
Lafrite 108c794a04 solve bug with expression like [2, op.sub1] 2014-12-21 19:03:44 +01:00
Lafrite cd6e8c5ca3 docstring of __str__ in Expression 2014-12-21 18:26:05 +01:00
Lafrite a4a58f05a0 solve bug in polynom with Expression.set_render 2014-12-21 18:22:33 +01:00
Lafrite 09ceb07f41 Merge branch 'unittest' into polynom 2014-12-21 18:11:45 +01:00
Lafrite fff148324f change test_arithmetic to be use with pytest. Add setup in
test_expression
2014-12-21 18:10:52 +01:00
Lafrite 2bbe6eca7d eval polynom but does not work with constant polynoms. Need unittest 2014-12-21 18:03:22 +01:00
Lafrite a38ba53577 sove bug with negative fractions display 2014-12-21 16:04:44 +01:00
Lafrite e3d1870d33 Add exception for invalid expression 2014-12-21 16:03:53 +01:00
Lafrite 027a3ac57a solve bug with simplify fraction (which has not be simplified) 2014-12-21 15:03:56 +01:00
Lafrite 2425a2dfca solve issue wit - and polynoms 2014-12-21 08:53:10 +01:00
Lafrite 8f4d63595d solve issue with - and polynoms 2014-12-20 20:36:15 +01:00
Lafrite a77d779a22 no expression with last elem of Expression.simplify 2014-12-20 18:48:51 +01:00
Lafrite dbe382f892 postfix in postfix change + to - 2014-12-20 17:42:31 +01:00
Lafrite 096e025302 Merge branch 'dev' into polynom 2014-12-20 17:26:49 +01:00
Lafrite 9dbe971cd1 add __getitem__ and __setitem__ to Expression 2014-12-20 16:52:45 +01:00
Lafrite 1acf73c598 Change set_df_render to set_default_render 2014-12-20 16:43:58 +01:00
Lafrite 6ca79a4e69 random classmethod for polynoms 2014-12-19 17:29:12 +01:00
Lafrite adce8e1348 Random classmethod for polynom 2014-12-19 17:17:25 +01:00
Lafrite d817002430 random expression is now a Expression classmethod 2014-12-19 16:45:22 +01:00
Lafrite 5df17b4779 dd simplified method for Expression 2014-12-19 15:42:37 +01:00
Lafrite 450af74a0d Merge remote-tracking branch 'origin/dev' into dev 2014-12-19 15:26:36 +01:00
lafrite edae08d3bc add doctest operator 2014-12-03 16:25:02 +01:00
lafrite ffd2a55b65 add doctest in random_expression 2014-12-03 15:52:08 +01:00
lafrite 573945a63a add test on printing for Fraction 2014-12-03 15:14:50 +01:00
lafrite f033cbad85 Update packaging with distutils 2014-12-03 15:03:07 +01:00
lafrite b518a85bef add requirements file 2014-12-03 15:02:59 +01:00
lafrite b8ca063368 Yeah! Unittest works! 2014-12-02 14:33:45 +01:00
lafrite ff605c87cb okfor doctest 2014-12-02 14:31:27 +01:00
lafrite 543af69979 Doctest and bugs in str2tokens 2014-12-02 12:37:23 +01:00
lafrite e1da8d2453 operator selector 2014-12-02 11:32:59 +01:00
lafrite cecf06e082 inside doctest works not unittest 2014-12-02 11:06:29 +01:00
Lafrite cccfb9e90b does not work.. 2014-12-02 10:05:02 +01:00
lafrite fec78c03d4 test with no * between number and letter - doctest in operator
Conflicts:
	pymath/operator.py
2014-12-01 06:42:43 +01:00
lafrite 24fb46e3d0 can't put spaces in {} in random_expression 2014-11-25 10:48:24 +01:00
lafrite 8485890fdf test with no * between number and letter - doctest in operator 2014-11-25 10:46:00 +01:00
Lafrite 6d8d72cdff start particularising operators 2014-11-24 07:17:51 +01:00
Lafrite 39cc36869c change parse in random_expression 2014-11-23 10:45:13 +01:00
Lafrite 2aed89855f Add on test in test_random_expression 2014-11-23 08:29:02 +01:00
Lafrite 3c5193d1c4 start simplify explanation for RdExpression 2014-11-23 08:23:55 +01:00
Lafrite 9d83f9a024 Julie's remarks 2014-11-22 18:20:39 +01:00
Lafrite 7be7f82ba9 set default render for random_expression 2014-11-21 17:21:12 +01:00
Lafrite 3b5583bd61 Nice way for setting render <3 2014-11-21 15:49:43 +01:00
Lafrite 3e9277d86b adapt tests to new poly 2014-11-15 10:16:59 +01:00
Lafrite 12bcf7214a solve stupid bug in spe_zip 2014-11-15 10:03:29 +01:00
lafrite 1fac2cc29e Poly works! Everything was fraction fault!! 2014-11-14 17:01:30 +01:00
lafrite 057cbaeab7 debug fraction hope it's last bug... 2014-11-14 17:00:26 +01:00
lafrite c30fd89282 add operation for expression 2014-11-14 16:48:38 +01:00
lafrite 895408109d mod fraction to work with operations and fix render in Expression 2014-11-14 16:20:02 +01:00