Commit Graph

38 Commits

Author SHA1 Message Date
Émilie Feral
3402721069 [poincare] Test: Add a parameter ReductionTarget (User or System) in
Helper::assert_parsed_expression_evaluates_to and
Helper::assert_parsed_expression_simplify_to
2019-02-14 10:47:05 +01:00
Émilie Feral
9709fb66b1 [poincare] When approximating, make a special case for x^(p/q) when the
complex format is real.

In this case, x^(p/q) might have a real result which is not the
principale angle returned by the standard library
2019-01-10 11:42:05 +01:00
Léa Saviot
b25c8f4df2 [poincare] Fix store tests 2019-01-10 11:42:04 +01:00
Émilie Feral
ecf3f2ea0f [poincare] Create a a flag on Expression that is set when the
approximation encouters a complex value

All approximation methods take the complex format into account.
2019-01-10 11:42:04 +01:00
Émilie Feral
26e2e9be0d [poincare] Add complex format as an argument of simplification 2019-01-10 11:42:04 +01:00
Émilie Feral
df2f6e3b6e [poincare] Fix tests with complex cas 2019-01-10 11:42:03 +01:00
Émilie Feral
d95585956c [poincare] Implement Expression::realPart, Expression::imaginaryPart,
Expression::complexNorm, Expression::complexArgument
2019-01-10 11:42:03 +01:00
Émilie Feral
0e1825817b [poincare] Test: clean helper
Create a method expressions_are_equal
2019-01-10 11:42:02 +01:00
Émilie Feral
e516c9d544 [poincare] Helper: add a function to check approximateWithValueForSymbol 2018-11-23 12:04:08 +01:00
Léa Saviot
60656f3ecd [poincare] Add tests on circular variables definitions 2018-11-23 12:04:06 +01:00
Léa Saviot
bdbae0777e [poincare] Add Store tests 2018-11-23 12:04:05 +01:00
Ruben Dashyan
603e672cf3 [poincare] Add parsing tests 2018-11-23 12:04:05 +01:00
Émilie Feral
bc2ce86825 [poincare] Change signature: polynomialDegree,
getPolynomialCoefficients, getPolynomialReducedCoefficients
2018-11-23 12:03:58 +01:00
Lionel Debroux
1a8c6b6ae9 [poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Léa Saviot
59c8c801c5 [poincare] Clean compilation warnings in poincare/test 2018-09-21 16:00:21 +02:00
Émilie Feral
365b145cf3 [poincare] Change names: LayoutReference-->Layout 2018-09-18 16:29:44 +02:00
Émilie Feral
616e4c0bcc [poincare] Change name: LayoutRef --> LayoutReference 2018-09-14 16:57:12 +02:00
Léa Saviot
5879ccbb35 [poincare] Add Rational tests and fix those on OverflowedInt 2018-09-11 11:49:27 +02:00
Émilie Feral
c9aa35fe82 [poincare] Fix binomial_coefficient_layout test 2018-08-29 15:41:02 +02:00
Émilie Feral
fcec3017fc [poincare] Parse Decimal Number 2018-08-22 16:28:07 +02:00
Émilie Feral
e6b04509cd [poincare] Rational: add tests on approximation and serialization 2018-08-17 13:55:15 +02:00
Émilie Feral
20bbc69c79 [poincare] Improve test helper 2018-08-16 16:46:36 +02:00
Léa Saviot
c87c85bce0 [poincare] Update poincare/test/helper with new Expressions 2018-08-13 12:25:16 +02:00
Émilie Feral
48f890ef93 [poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Émilie Feral
d89b6ef85a [poincare] Fix tests 2018-07-18 17:09:07 +02:00
Léa Saviot
379dcdba1a [poincarE] Add unary tests on Layouts.
Change-Id: I21f33e84eb4a60ecbabbba99a966abed6a23039c
2018-05-15 18:05:32 +02:00
Émilie Feral
1b10cbdbb3 [poincare] Add a method: Expression::polynomialDegree 2018-03-22 10:48:06 +01:00
Émilie Feral
40da35f17c [poincare] Clean and sort tests
Change-Id: Ia6a66f5d6e568731ba4127c94a073f7fd62bc26a
2017-11-29 09:44:35 +01:00
Émilie Feral
8874977a77 [poincare] Clean tests
Change-Id: Ib1a36aa1fff91e41ec92da18631bbe9c8c9a5f5f
2017-11-28 17:03:12 +01:00
Émilie Feral
156e08dc12 [poincare] Fix unitary tests (part I)
Change-Id: Ib971a3562a7dbf98dda3a02ad1b7064ad7b57fdf
2017-11-22 16:47:39 +01:00
Émilie Feral
aac7650339 [poincare] Tests
Change-Id: I89e635deb09dbb26927b70e7b6d63961d126f747
2017-10-09 16:38:59 +02:00
Émilie Feral
be1f2be60f [poincare] Repair tests
Change-Id: Ie14d3c1afc0c8e66d4b0eddb2919958391c5c959
2017-09-26 16:38:22 +02:00
Jacob Young
ebeabd677e Allow tests to print progress. 2017-09-01 04:07:34 -04:00
Jacob Young
198c26f99d Fix grammar. 2017-08-31 18:09:00 -04:00
Jacob Young
37700f9e11 Default expression tests to scalar. 2017-08-31 18:04:56 -04:00
Jacob Young
0f3f419441 Add and use infrastructure to test matrix dimensions. 2017-08-31 17:24:54 -04:00
Émilie Feral
82e212e771 [poincare] Template for double
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
2017-08-16 09:55:29 +02:00
Émilie Feral
f73ddcd08f [poincare] Evaluation return numerical matrix
Change-Id: I58dbc93ad22a086580a77318b2524db9c70e47d2
2017-08-03 13:47:11 +02:00