summaryrefslogtreecommitdiffstats
path: root/tests/lseq.test
Commit message (Collapse)AuthorAgeFilesLines
* Indenting and comments, backported from 9.1jan.nijtmans2025-04-291-6/+6
|
* Partial fix and test cases for bug [452b103a74] - lseq nested indicesapnadkarni2025-04-271-4/+19
|
* Fix [7d3101bf28] - crash on out of bounds lindex into lseqapnadkarni2025-04-271-2/+2
|
* Fix lindex crash on non-numeric index into lseqapnadkarni2025-04-271-1/+1
|
* Crash tests for bugs [45b2] and [7d31]apnadkarni2025-04-271-0/+27
|
* lseq.test: unneeded constraintsebres2024-12-261-1/+0
|
* fix calculation of max precision of the series for E notation, optimize it a ↵sebres2024-12-231-32/+18
| | | | bit (do it once, use original given objects, that mostly have a string representations), so speed-up it a bit + code review and deduplication
* prohibit NaN in the arith-series, so it behaves exactly like expr-command ↵sebres2024-12-221-20/+15
| | | | (e. g. like expr {Inf - Inf} it'd generate "domain error: argument not in valid range" now)
* more tests, cover lrange/lreverse for unshared/shared series-objectssebres2024-12-221-0/+70
|
* amend with better test title and explaining commentsebres2024-12-221-1/+3
|
* make test platform/compiler independent: the result of the addition of Inf ↵sebres2024-12-221-4/+7
| | | | and -Inf may be either -NaN or NaN
* added test cases illustrating several inconsistencies and bugs (hopefully ↵sebres2024-12-211-0/+145
| | | | also the result of UB [d2a3c5f80bf47362])
* Indenting in testcases. Always use tabs in stead of 8 spacesjan.nijtmans2024-10-091-11/+11
|
* Don't use "9.0b3" any more. Spacingjan.nijtmans2024-09-261-1/+1
|\
* | Fix for ticket [f4a4bd7f1070] - lseq "count" argument also dictates output ↵griffin2024-09-011-4/+17
| | | | | | | | | | | | formatting. Solved by only consdering the start, end, and step values to determine the value formatting of the results. Real numbers can still be used for the Count value, as long as the value is a whole number.
* | merge 8.7 (several conflicts resolved)sebres2024-06-121-1/+5
|\ \ | |/
| * ultimately closes [f05f5ef759c1f7f9]: since bigints are not supported yet, ↵sebres2024-06-121-1/+5
| | | | | | | | trying to use them as series parameters would cause "integer value too large to represent" unless implemented.
* | merge 8.7sebres2024-06-121-3/+26
|\ \ | |/
| * more fixes for [f05f5ef759c1f7f9]: don't swallow expr errors, further code ↵sebres2024-06-121-3/+10
| | | | | | | | review and simplification
| * lseq: more testssebres2024-06-121-0/+16
| |
* | merge 8.7 (fix for [f05f5ef759c1f7f9])sebres2024-06-121-0/+26
|\ \ | |/
| * tests illustrating bug [f05f5ef759c1f7f9], incorrect behavior of lseqsebres2024-06-121-0/+26
| |
* | merge 8.7 (BF [a9625d1f53554f9d])sebres2024-03-071-0/+7
|\ \ | |/
| * fixes segfault [a9625d1f53554f9d]: elemObj used uninitialized, lindex on ↵sebres2024-03-071-0/+7
| | | | | | | | lseq wo args must return whole list
| * Fix [578b7e273c03]: Round computed end value to match precision of given ↵jan.nijtmans2024-02-151-0/+19
| | | | | | | | arguments
| * Fix [54329e39c7]apnadkarni2023-07-121-0/+21
| |
| * Test update for bug [63530267aa].griffin2023-06-301-53/+177
| |
| * Fix ticket [63530267aa] by implementing ticket [e5f06285de] and making ↵griffin2023-06-281-3/+2
| | | | | | | | additional corrections.
| * Fix [26960060d7]: lseq-3.14 triggers use-after-freejan.nijtmans2023-06-281-0/+6
| |
* | Fix bug 578b7e273c03. -- Round computed end value to match precision of ↵griffin2024-02-151-0/+19
| | | | | | | | given arguments.
* | Revert [0b05b5c750df] that broke bigdata tests and lseq-1.13apnadkarni2023-08-131-1/+1
| |
* | Implement in,ni operator for abstract listsgriffin2023-08-081-0/+43
| |
* | Fix bug [c25d2cd3e6], as well as memory leaks in lsearch and concat.griffin2023-07-161-3/+5
| | | | | | | | | | | | Add cleanup to some tests. Fix bug and leak in tclTestABSList.c Correct comment in tclArithSeries.c
* | dup test namedgp2023-07-141-1/+1
| |
* | Add testapnadkarni2023-07-121-0/+21
| |
* | merge trunkgriffin2023-06-301-5/+29
|\ \
| * | Test update for bug [63530267aa]. Fix 32-bit embtest build issue.griffin2023-06-301-5/+29
| | |
* | | merge trunkgriffin2023-06-301-1/+1
|\ \ \ | |/ /
| * | Merge 9.0jan.nijtmans2023-06-271-1/+1
| | |
* | | Merge trunkgriffin2023-05-231-58/+111
|\ \ \ | |/ /
| * | Fix test to be stable.griffin2023-05-211-2/+2
| | |
| * | Add cleanup to lseq tests. Fix assertion.griffin2023-05-201-50/+129
| | |
| * | Fix for [5ee01098824881b5], lseq list conversion results in attempt to accesspooryorick2023-05-171-0/+6
| | | | | | | | | freed memory.
* | | Add Tcl_BumpObj() used to prevent leaks from Abstract List elements.griffin2023-05-171-1/+46
| | | | | | | | | | | | | | | | | | | | | Add Abstract List (ArithSeries) support in Tcl_ListObjIndex(). Fix obj leaks in lsearch operatations on ArithSeries. Fix obj leaks in concat operations on ArithSeries. Add concat and lsearch tests using lseq lists.
| | |
| \ \
*-. \ \ Partial sync-up with trunk.griffin2023-04-301-30/+42
|\ \ \ \ | | |/ /
| | * | Fix index descrepencies (bug-fa00fbbbabe).griffin2023-04-261-9/+42
| | |\ \ | |/ / / | | | | | | | | Fix inconsistent rounding (bug-e5f06285de).
| | * | merge trunk, address some 32-bit issues.griffin2023-04-261-3/+3
| | |\ \ | | |/ / | |/| |
| | * | Add fix inconsistent rounding (bug-e5f06285de).griffin2023-04-251-2/+20
| | | | | | | | | | | | | | | | | | | | Compute and use the "precision" for sequences of doubles: determine the number of significant digits in the fractional part of the given arguments, and round the results to that limit. Fix copy bug in DupArithSeriesInternalRep.
| | * | sync with trunk. Fix lseq size bugs.griffin2023-04-201-4/+12
| | |\ \ | | |/ / | |/| |
| | * | Fix bug-fa00fbbbabe - seq / lindex discrepanciesgriffin2023-04-161-6/+13
| |/ / | | | | | | | | | | | | | | | | | | Replace macros with static inline functions. Limit ArithSeries list size to LIST_MAX. This way, shimmering less likely to fail if it happens. Speed up UpdateStringOfArithSeries. Fixed issues around indexing into vary large lseq lists.