-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check all basic operators results in all possible cases #1784
Conversation
…l the ~610 x 8 tests are similar to IDL.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1784 +/- ##
==========================================
+ Coverage 42.70% 43.73% +1.02%
==========================================
Files 361 376 +15
Lines 97331 97398 +67
Branches 19928 19919 -9
==========================================
+ Hits 41570 42596 +1026
+ Misses 55761 54802 -959 ☔ View full report in Codecov by Sentry. |
The
Because each of these cases need a special code, for speed and memory optimization (this was written by Marc in the very first version of GDL, at least for 90% of the operators), the number of combinations explored is around 11000 cases. The result of the procedure is a ~24000 lines text file that can be compared with an equivalent IDL output. As each operator is also optimized to use parallel processing on operands as soon as the number of elements is greater than (*) TPOOL (Thread Pool) using functions cannot in general be expected to provide exactly the same result in parallell or not parallell mode: TOTAL() is an example. But operators do. |
added test_indepth_basic_functions.pro and modified code to insure ~1200 tests on OPERATORS are similar to IDL.