Commit Graph

66 Commits

Author SHA1 Message Date
b738cf8dd8 Feat: use functions from math module in variable and conditions 2021-10-09 16:09:09 +02:00
32112a4591 Feat: test random import 2021-10-09 15:22:58 +02:00
204c7dffd7 Feat: RandomTree, rename generate function ... 2021-10-03 15:36:35 +02:00
78ce8f767a Fix: fraction rendering
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-25 18:05:05 +02:00
Benjamin Bertrand
2c240eabb1 move tests 2016-01-07 19:56:30 +03:00
lafrite
2e8cd9dd48 create massive test for render 2015-06-21 16:59:16 +02:00
Lafrite
d268bd405a Add rst to mass test 2015-06-21 16:07:56 +02:00
Lafrite
71e427f634 comment tests... (not good!) 2015-04-07 07:49:03 +02:00
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
25127acde3 tests for mul._render and render 2015-03-10 11:59:35 +01:00
Lafrite
d503db6cef add doctest and unittest for render 2015-03-07 20:04:16 +01:00
Lafrite
4841aef478 new tests for render (not validate yet) 2015-03-07 18:23:44 +01:00
Lafrite
c832ae5742 Add test with polynom in render 2015-03-07 15:11:08 +01:00
Lafrite
b3a07bf6e4 adapt test on __call__ for polynom 2015-03-07 09:15:21 +01:00
Lafrite
b7156a5ac4 Merge branch 'dev' into 2nd_deg 2015-03-06 14:36:17 +01:00
Lafrite
79033c74ce Adapt test_polynom for explain still bug with eval_poly 2015-02-28 22:52:28 +01:00
Lafrite
c2bb98ab40 Finish adapting test_fraction with explain 2015-02-27 16:57:13 +01:00
Lafrite
3c21b42d6c Simplify test_expression for py.test and adapt it for explain method 2015-02-27 08:55:36 +01:00
Lafrite
9649a0dbaf start working on deg 2 polynoms 2015-01-23 17:19:14 +01:00
Lafrite
f00d8c9e57 mod fraction simplify test 2015-01-09 13:15:57 +01:00
Lafrite
dfb056e1cf change simplify in expression test 2014-12-27 15:47:55 +01:00
Lafrite
ffe3b628ea correct tests in test_str2tokens 2014-12-23 14:29:39 +01:00
Lafrite
5cba9763e4 overload ^ and ** for monoms 2014-12-22 15:54:07 +01:00
Lafrite
d5c0a86109 Poly eval with poly works 2014-12-22 15:32:17 +01:00
Lafrite
16c0b5b8fc comment a unittest 2014-12-22 14:15:30 +01:00
Lafrite
5b7c9d412c test on str2tokens with poly 2014-12-22 11:03:44 +01:00
Lafrite
d5d889eeb0 try evaluate polynoms with other polynoms 2014-12-22 10:13:20 +01:00
Lafrite
1729ef1d24 add test on eval 2014-12-21 19:13:34 +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
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
573945a63a add test on printing for Fraction 2014-12-03 15:14:50 +01:00
lafrite
b8ca063368 Yeah! Unittest works! 2014-12-02 14:33:45 +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
2aed89855f Add on test in test_random_expression 2014-11-23 08:29:02 +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
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
e93e14133d reduce give list (not generator any more) big issue with render!! 2014-11-11 21:51:03 +01:00
lafrite
73e6c74c72 import old polynom and test_polynom from polynom branch 2014-11-11 11:06:17 +01:00
lafrite
80261d97d3 expression and test 2014-11-11 09:58:47 +01:00
lafrite
d615214c35 replace renders to render in every files 2014-11-11 08:29:19 +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
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