Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | adds another pass for sets fixes #6259 (#22099) | Juan M Gómez | 2023-06-15 | 1 | -0/+4 |
| | | | | | | | * adds another pass for sets fixes #6259 * Update tsets.nim removes extra `#` | ||||
* | some test cleanups & category reorganization (#22010) | metagn | 2023-06-06 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | * clean up some test categories * mention exact slice issue * magics into system * move trangechecks into overflow * move tmemory to system * try fix CI * try fix CI * final CI fix | ||||
* | add test for #13764 (#21699) | Bung | 2023-04-21 | 1 | -0/+6 |
| | |||||
* | warn on set types bigger than max size, default to 0..255 for int literals ↵ | metagn | 2023-04-17 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | (#21659) * test implicitly huge set types refs https://github.com/nim-lang/RFCs/issues/298 * oh my god * boot at least * don't error, fix remaining issues, no 2 len arrays * fix runnable example * test assuming 0..255 for int literal * test refactor, add changelog, test | ||||
* | fix #20997 calling system.card[T](x: set[T]) with T of int8 or uint8 … ↵ | Bung | 2022-12-23 | 1 | -0/+18 |
| | | | | | | | (#21010) * fix #20997 calling system.card[T](x: set[T]) with T of int8 or uint8 uses mismatched C array sizes * fullfil set variant | ||||
* | overloadable enums no longer experimental (#20298) | metagn | 2022-09-05 | 1 | -2/+2 |
| | | | depends on #20126 | ||||
* | Add test for issue 15435 (#19079) | Kaushal Modi | 2021-11-03 | 1 | -0/+29 |
| | | | | | | | | | * Add test for issue 15435 Closes https://github.com/nim-lang/Nim/issues/15435. * Specify bug # in comment Addresses https://github.com/nim-lang/Nim/pull/19079#discussion_r740279547 | ||||
* | close #16123 std/sets with closures in cpp (#17921) | Timothee Cour | 2021-05-03 | 1 | -5/+13 |
| | | | | | * close #16123 std/sets with closures in cpp * fixup | ||||
* | improve tsets.nim, twrong_setconstr.nim and avoid name clashes with compiler ↵ | Timothee Cour | 2021-04-29 | 1 | -192/+63 |
| | | | | | | | sets (#17876) * improve tests/sets/tsets.nim and avoid name clashes with compiler sets * avoid name clashes in twrong_setconstr.nim and merge into tsets | ||||
* | follow up #17536 (#17727) | flywind | 2021-04-15 | 1 | -1/+1 |
| | |||||
* | close #5792 with testcase (#17536) | flywind | 2021-03-27 | 1 | -0/+17 |
| | |||||
* | fix #17385, `len` must be declared before `items` (#17386) | Miran | 2021-03-15 | 2 | -0/+15 |
| | |||||
* | fix #17076 (#17081) | flywind | 2021-02-18 | 1 | -3/+25 |
| | |||||
* | use doAssert in tests (#16486) | flywind | 2020-12-28 | 1 | -61/+61 |
| | |||||
* | tables/sharedtables/intsets/etc: fix #13496, #13504, #13505; add lots of ↵ | Timothee Cour | 2020-02-26 | 1 | -8/+64 |
| | | | | | | | | | | | tests (#13498) [backport] * fix #13496 handle tombstones * add test * more tests * fix #13504; add SharedTable tests * fix #https://github.com/nim-lang/Nim/issues/13505 intsets.missingOrExcl silently gave wrong results sometimes * add test for tintsets | ||||
* | set[T].len is an alias for set[T].card (#11885) [feature] | Andy Davidoff | 2019-08-05 | 1 | -0/+4 |
| | |||||
* | remove shadow warning, fixes #10732 (#11039) | Miran | 2019-04-17 | 1 | -3/+2 |
| | |||||
* | require errormsg to be specified before file. | Arne Döring | 2018-12-11 | 2 | -4/+5 |
| | |||||
* | make tests green again | Araq | 2018-11-16 | 1 | -3/+3 |
| | |||||
* | More descriptive names of test files (#9531) | Miran | 2018-10-29 | 1 | -0/+0 |
| | | | | | * change generic `tissues` name to more specific * change `tvarious` to more specific names | ||||
* | Merge tests into a larger file (part 5 of ∞) (#9368) | Miran | 2018-10-16 | 5 | -205/+200 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge magics * merge metatype tests * merge method tests * merge objects tests * change `import future` to `import sugar` Nim in Action tests are left with `import future`, to ensure compatibility. * merge overload tests * merge proc tests * merge procvar tests * merge range tests * merge seq tests * merge sets tests * remove wrong assert from `tsets3` * fix `jsTests` * better fix | ||||
* | fixes #8425 | Araq | 2018-08-04 | 1 | -1/+9 |
| | |||||
* | add sets.pop procedure (analogue to python) (#8383) | skilchen | 2018-07-21 | 1 | -0/+22 |
| | |||||
* | Check the RHS when building a set (#8159) | LemonBoy | 2018-06-30 | 1 | -0/+6 |
| | | | Fixes #2669 | ||||
* | Fix compile time set cardinality (#7558) | Oscar Nihlgård | 2018-04-10 | 1 | -0/+4 |
| | |||||
* | Add counterpart to containsOrIncl for excl (#6360) | superfunc | 2017-09-15 | 1 | -1/+11 |
| | |||||
* | tests: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 2 | -209/+209 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | renamed writeln to writeLine in tests | patrick dw | 2015-06-19 | 1 | -1/+1 |
| | |||||
* | fixes #2470, fixes #1354 | Araq | 2015-04-28 | 1 | -15/+155 |
| | |||||
* | Add TSet difference tests | def | 2014-07-15 | 1 | -1/+20 |
| | |||||
* | Fixed TSet proc names to conform with set | Felix Krause | 2014-06-26 | 1 | -11/+11 |
| | |||||
* | Added logical set operations to TSet | Felix Krause | 2014-06-25 | 1 | -0/+81 |
| | |||||
* | Tester now appreciates the test target. Modified 'cmd' in specs. | Dominik Picheta | 2014-04-16 | 1 | -1/+0 |
| | |||||
* | Changed tests and tools to use 'discard' statements instead of 'nil' for ↵ | Clay Sweetser | 2014-02-15 | 1 | -9/+9 |
| | | | | empty blocks. | ||||
* | added tests for set | Simon Hafner | 2014-02-10 | 1 | -0/+12 |
| | |||||
* | moved the tests for TSet to the correct place | Simon Hafner | 2014-02-09 | 1 | -15/+0 |
| | |||||
* | added test specs for the tester | Simon Hafner | 2014-02-01 | 1 | -0/+3 |
| | |||||
* | corrected docs and tests | Simon Hafner | 2014-02-01 | 1 | -13/+9 |
| | |||||
* | sets equivalence | Simon Hafner | 2014-01-31 | 1 | -0/+16 |
| | |||||
* | new tester; all tests categorized | Araq | 2014-01-13 | 2 | -0/+126 |