Commit Graph

52 Commits

Author SHA1 Message Date
Benjamin Bertrand
e34215a9a9 new initiat for Renderable and Explicable - need to fix other 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
351a9002be steal_history in explicable 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
7f891956fc New representation for objects 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
04099040d4 __repr__ for *Polynom 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
976cbbdf03 Merge_history (from Explicable) and develop_steps (from Expression)
work together
2016-03-22 08:39:20 +03:00
Benjamin Bertrand
bfef87424d change the goal of merge_history 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
d1f074e8df allow no Explicable in merge_history and improve doctest 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
20d1ad8528 develop_steps become classmethod 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
142eaa9c32 solve unittest bugs and undetected develop_steps bug 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
190b247fe4 Explain now explain thing only once 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
b4df404cbd docstring mod 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
29d0234050 Create merge_history method for Explicable 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
b241142976 finish corr flake8 in calculus 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
edd83fe56a flake8 corr (not finish yet) 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
b6da1e24a1 dd docstring for explain for Explicable 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
ee03acf9fb this_append_before for Expression 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
619e809c6b this_append_before for Fraction 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
1ecdb458ae this_append_before for explicable ans abstract_polynom 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
5d4fe72764 code display in fraction.py 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
7f5b9059b1 Refactor str2in_tokens use op.available_op from Operator_set 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
c81776e037 Solve bug with parenthesis and ^ 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
e0fb4da8ef solve final bug! :DDD 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
1b2d778ff6 pass doctest for abstract_polynom expression fraction generic and
polynom
2016-03-22 08:39:20 +03:00
Benjamin Bertrand
c2cdbea001 Pass tests for polynoms 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
3530660c0b add try in __eq__ for operator 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
26e12370b8 pass expression and str2tokens tests 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
3ae3d9fb2d Add and clear test for Operator and operator_set 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
5002fbe4ae Doctest for operator_set 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
1e3e0418df move test into class those tests are passed 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
8ed382bbe2 refactoring op but tests are not passed yet 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
821810ca47 no more float ready for decimal! 2016-02-15 15:20:24 +03:00
Benjamin Bertrand
ab8b80758c all test passed! 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
deb5be0955 Create pstf_factory and fix unittest! :D:D 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
c6ee2f2140 move postfix_op (or corr) and remove unneeded 1 in fractions 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
29a25203c2 rewrite fraction and simplify op steps 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
bfafaac319 rewrite expression.simplify and adapt Fraction to it 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
f968a25345 adapt test to float number in render and str2tokens 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
b5d383a4be Parse float and create Explicable_float 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
589e92a780 reorganise renders 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
a5d84e89e3 cahnge Fake_int to Explicable_int 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
47d43849d0 autopep8 on all files but operator.py 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
e43544006e autopep8 on calculus test 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
b260c838df remove trailing spaces 2016-02-13 06:48:23 +03:00
Benjamin Bertrand
52ff23a749 transform if to try/except in develop_steps 2016-02-09 10:14:54 +03:00
Benjamin Bertrand
ba579c9ab3 add missing step when multiply polynoms 2016-02-09 09:23:04 +03:00
Benjamin Bertrand
209e235a56 presentations 2016-01-17 18:07:05 +03:00
Benjamin Bertrand
89b81f97c8 Add test for random_expression and underscore 2016-01-17 18:06:42 +03:00
Benjamin Bertrand
1404c6fa35 Remove unittest module in test_random_expression 2016-01-17 18:03:04 +03:00
Benjamin Bertrand
2b98d0e364 Allow _ for generating expressions 2016-01-17 17:51:12 +03:00
Benjamin Bertrand
397f67db05 allow import of txt and add todo on database 2016-01-12 09:51:31 +03:00