Commit Graph

30 Commits

Author SHA1 Message Date
Lafrite
0b50961c84 add some test for operators 2015-04-03 14:49:55 +02:00
Lafrite
e58567b2f8 change op.add and op.sub for better - management 2015-03-28 09:09:32 +01:00
Lafrite
b508a8afb4 all tested are passed! :D 2015-03-10 14:04:04 +01:00
Lafrite
8b79fbbace solve issues with () for add and mul 2015-03-10 11:59:27 +01:00
Lafrite
097ad25fe2 solve bug with - and () 2015-03-08 23:56:59 +01:00
Lafrite
d503db6cef add doctest and unittest for render 2015-03-07 20:04:16 +01:00
Lafrite
cdfd70d3f3 solve render bug with (..) - (..) to .. - (..) 2015-03-07 19:35:34 +01:00
Lafrite
c00c0a86cc add_parenthesis to l_parenthesis and r_parenthesis 2015-03-07 19:26:26 +01:00
Lafrite
e031f9b903 reset priorities 2015-03-07 18:23:10 +01:00
Lafrite
35f2b46521 mod div priority 2014-12-27 16:48:32 +01:00
Lafrite
8dd90bc85a change way to build fake 2014-12-22 11:53:32 +01:00
lafrite
edae08d3bc add doctest operator 2014-12-03 16:25:02 +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
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
895408109d mod fraction to work with operations and fix render in Expression 2014-11-14 16:20:02 +01:00
lafrite
693c982cbe create a list of operator 2014-11-11 20:35:30 +01:00
lafrite
9c868b4e79 Add list of operators in operator.py (may need to change the form 2014-11-11 09:44:39 +01:00
lafrite
633e6b4e2c debug str2tokens 2014-11-11 09:33:31 +01:00
lafrite
2132c2ba59 New render seems to be ok some debuging still have to be done 2014-11-09 12:06:31 +01:00
lafrite
6618e9d85d Forgot to save mainOp 2014-11-09 10:39:24 +01:00
lafrite
3d7018c2c7 Operator knows how to be printed 2014-11-09 10:35:49 +01:00
lafrite
565a4d3632 adapt Expression with the split. tests achieved 2014-11-08 18:15:04 +01:00
lafrite
6a6070d3d7 str2tokens seems to works 2014-11-08 17:40:02 +01:00
Lafrite
a3c84d6eab ok Operator well included need to use them correctly now! 2014-11-02 11:17:12 +01:00
Lafrite
6e99dadd39 Create real class Operator and include it into expression (need to fix
render now)
2014-11-02 08:19:31 +01:00