Léa Saviot
8cc6d785d8
[poincare/test] Funciton solver tests
2019-08-08 17:22:05 +02:00
Émilie Feral
cedcab21ec
[poincare] Tidy tests and add TODO for tests that need to be completed
2019-08-08 17:22:04 +02:00
Léa Saviot
61cf762eef
[poincare] Expression::ReductionContext
2019-08-08 16:29:37 +02:00
Léa Saviot
40c5196cee
[test] Use strcmpWithSystemParentheses
...
Now there can be two types of parentheses : '(' or
UCodePointLeftSystemParenthesis. Because we do not want to complicate
the test results, when comparing a computed serialization and a result
we do not differentiate between the two types of parentheses.
2019-06-26 14:03:08 +02:00
Léa Saviot
d2d43b8cb0
[poincare] Add tests about cursor positioning in layout
2019-05-27 17:24:11 +02:00
Léa Saviot
76e6860f83
Remove TODOs
2019-05-03 15:53:19 +02:00
Léa Saviot
65e5adafac
Remove Ion::Charset
2019-05-03 15:53:19 +02:00
É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
e5f0959239
[poincare] Static Expression methods start with uppercase
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
Léa Saviot
2772e0397f
[poincare] Add tests on power serailization
2018-11-26 14:07:42 +01:00
Léa Saviot
0ecaea0695
[poincare] Fix power serialization
2018-11-26 14:07:42 +01:00
Léa Saviot
3e12f83bb1
[tests] Fix with new serializations
2018-11-23 12:04:10 +01:00
Léa Saviot
53e4a290f7
[poincare] Rename Expression:parse in Parse
2018-11-23 12:04:09 +01:00
Émilie Feral
e516c9d544
[poincare] Helper: add a function to check approximateWithValueForSymbol
2018-11-23 12:04:08 +01:00
Léa Saviot
755af81d65
[poincare] Fix tests
2018-11-23 12:04:06 +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
Léa Saviot
da226f7861
[tests] Fix GlobalContext namespace and duplicate test
2018-11-23 12:04:01 +01:00
Léa Saviot
95b59ce90a
[poincare] Fix tests by using the UnknownX charset
2018-11-23 12:03:59 +01:00
Léa Saviot
438968384c
[tests] Fix them by using the new APIs
2018-11-23 12:03:59 +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
Émilie Feral
9d471552c7
[poincare] Tests: fix expression_debug to be able to print_expression
2018-09-26 09:37:39 +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
d668eccb4f
[poincare] Tests: no variable-size tables
2018-09-17 17:14:43 +02:00
Émilie Feral
616e4c0bcc
[poincare] Change name: LayoutRef --> LayoutReference
2018-09-14 16:57:12 +02:00
Émilie Feral
c9aa35fe82
[poincare] Fix binomial_coefficient_layout test
2018-08-29 15:41:02 +02:00
Léa Saviot
abd18a508c
[poincare] MatrixTrace, Transpose, Dimension and Inverse
2018-08-28 12:06:34 +02:00
Émilie Feral
a1bcbe28e6
[quiz] Turn all assert in quiz_assert
2018-08-28 10:40:52 +02:00
Léa Saviot
396a2c4330
[poincare] Add "properties" tests
2018-08-27 11:57:29 +02:00
Émilie Feral
fcec3017fc
[poincare] Parse Decimal Number
2018-08-22 16:28:07 +02:00
Émilie Feral
20bbc69c79
[poincare] Improve test helper
2018-08-16 16:46:36 +02:00
Émilie Feral
95ca623a0e
[poincare] Test helper: increase the buffer size
2018-08-16 16:46:36 +02:00
Émilie Feral
69b57a0b8c
[poincare] Fix test helper
2018-08-16 16:46:36 +02:00
Léa Saviot
71c807b565
[poincare] Node->isDefined becomes !Node->isUninitialized
2018-08-14 16:40:12 +02:00
Léa Saviot
c87c85bce0
[poincare] Update poincare/test/helper with new Expressions
2018-08-13 12:25:16 +02:00
Émilie Feral
aaa20a58fa
[poincare] Implement SerializationHelper and
...
SerializationHelperInterface. WriteTextInBuffer->serialize
2018-08-08 15:31:40 +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
Émilie Feral
dd0bc491f6
[poincare] Replace Poincare::Complex by std::complex
2018-07-18 16:32:49 +02:00
Émilie Feral
0f89de63f3
[solver][poincare] Fix tests
2018-06-07 13:46:18 +02:00