Commit Graph

45 Commits

Author SHA1 Message Date
Joachim LF
b09da48748 [calculation/tests] Fix tests on omega 2021-02-12 10:21:42 +01:00
Arthur
d7a0914d13 [Apps/CalculationStore] Changed the way to store calculations
-No more limit to the number of calculations
-All calculations are memoized
-Added tests to test/calculation_store.cpp

Change-Id: Ia10e2b009576eaf4496ba44a0c88f6e7e76f6cef
2020-11-04 14:45:34 +01:00
Émilie Feral
83ecefda00 [apps/calculation] Fix tests 2020-07-16 14:37:38 +02:00
Émilie Feral
bbb9e83703 [apps/calculation] Fix and add tests 2020-02-12 15:13:23 +01:00
Émilie Feral
c2540a1d8a [apps/calculation] Calculations now hold 4 texts: input, exact output
and 2 approximate outputs - one with the maximal number of significant
digits and one with the number of significant digits asked by the user.
This enables to find the approximate output without going through the
approximation routine again.
2020-02-12 15:13:23 +01:00
Léa Saviot
6a45073e09 [apps/calc] Fix tests 2019-08-27 17:24:57 +02:00
Léa Saviot
0556d10e7b [apps/calculation] Test about integral with symbols 2019-08-20 16:14:27 +02:00
Émilie Feral
081462ab5e [poincare] Fix tests with Multiplication serialization (it always add
the × operator
2019-08-08 17:22:06 +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
Émilie Feral
f546845279 [apps] Test: fix calculation and equation test with layout and
expression seriazlization
2019-08-08 17:22:03 +02:00
Léa Saviot
c7fd11e4b0 [apps/calculation] Calculation store has one big buffer for calculations 2019-08-08 17:22:02 +02:00
Émilie Feral
518903c390 Clean warnings 2019-08-08 17:22:01 +02:00
Léa Saviot
1642df476a [apps/calculation] Don't display exact result for condifence/prediction 2019-08-08 16:29:38 +02:00
Léa Saviot
1b42efb2cd [poincare] Tests about basic matrix simplifications + fix tests 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
Émilie Feral
93b81cb26c [poincare] Tests: fix build 2019-05-03 15:54:22 +02:00
Léa Saviot
1ecfb4af83 [poincare/tests] randint's simplification gives its approximation 2019-05-03 15:54:20 +02:00
Léa Saviot
a8e7208a30 [apps/calculation/tests] Tests on displayExactApprox for random/round 2019-05-03 15:54:20 +02:00
Émilie Feral
f453508321 [calculation] Fix tests with no symbolic computation 2019-05-03 15:54:20 +02:00
Léa Saviot
6f7fe5089a [apps/calculation] Calculation::DisplayOutput can be Exact/Approx/Both 2019-05-03 15:53:21 +02:00
Léa Saviot
9e64655f5a [poincare/tests] Parametered expressions + symbolic computation 2019-05-03 15:53:21 +02:00
Léa Saviot
6839c9f8a2 [apps/calculation] Add tests about no symbolic computation 2019-05-03 15:53:21 +02:00
Léa Saviot
f14c56badf [calculation/test] Rename some test method arguments 2019-05-03 15:53:21 +02:00
Léa Saviot
9f776b2f6f [test] Fix tests for no symbolic computation 2019-05-03 15:53:21 +02:00
Léa Saviot
6b6d3d7fe2 [tests] Fix unicode for tests 2019-05-03 15:53:19 +02:00
Léa Saviot
65e5adafac Remove Ion::Charset 2019-05-03 15:53:19 +02:00
Léa Saviot
101db272c8 [test/calculation] 1+1->a shoud display 2, not 1+1=2 2019-01-10 11:42:04 +01:00
Émilie Feral
95248edde0 [poincare] Fix tests with new beautify order 2019-01-10 11:42:04 +01:00
Émilie Feral
b8826b1cf4 [poincare] (-1)^(p/q) is not reduced the same way according to the
complex format
2019-01-10 11:42:04 +01:00
Émilie Feral
786cefc3d4 [calculation] No special case for unreal calculation, it is handled in
simplication and approximation routines.
2019-01-10 11:42:04 +01:00
Émilie Feral
6fd3a155df [calculation] Take into account the complex format 'real' 2019-01-10 11:42:04 +01:00
Émilie Feral
b6ec84f6a9 [calculation] Clean and add tests on CalculationStore 2019-01-10 11:42:04 +01:00
Léa Saviot
70a4542705 [apps/calc] Add test on shouldOnlyDisplayApproximateOutput 2018-12-03 15:03:24 +00:00
Léa Saviot
79e3842e2d [apps/calculation] Add matrix test in calculation_display_exact_approximate 2018-11-23 12:04:09 +01:00
Léa Saviot
2f8bd5a241 [apps/Calculation] Fix forgotten namespace 2018-11-23 12:04:09 +01:00
Léa Saviot
51ddba058f [apps] Add test about Calculation output: 2x-x should just display x 2018-11-23 12:04:08 +01:00
Léa Saviot
da226f7861 [tests] Fix GlobalContext namespace and duplicate test 2018-11-23 12:04:01 +01:00
Léa Saviot
6c5b0def7b [apps/calculation] Test on equal/approximate display 2018-11-19 18:02:55 +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
a1bcbe28e6 [quiz] Turn all assert in quiz_assert 2018-08-28 10:40:52 +02:00
Émilie Feral
1d7bd2b70a [calculation] Change method name: shouldDisplayApproximateOutput --> shouldOnlyDisplayApproximateOutput 2018-05-15 11:33:28 +02:00
Émilie Feral
ddd8c3c44a [apps] Add tests on Ans behaviour in Calculation 2018-01-16 15:17:16 +01:00
Émilie Feral
df59cd6ef7 [apps/calculations] Clean calculation store test
Change-Id: I9fd0d93f9c2f8ba2ba9f0be38b4a0f471eae86b8
2017-05-31 13:58:49 +02:00
Émilie Feral
6e98c4aa02 [apps/calculations] Clean
Change-Id: I2fedcae85cfb84b58713ad181c9da177239630d9
2017-05-31 11:54:54 +02:00
Émilie Feral
e75beb661f [apps/calculation] Add test for rinn buffer of calculation store
Change-Id: I99b9c75b7bc4927b693a67bb5c022d991eb8dec6
2017-05-30 13:17:22 +02:00