Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add `isNamedTuple`; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) ↵ | Timothee Cour | 2019-01-08 | 1 | -3/+3 |
| | | | | | | | | | | | | | which leaked implementation detail (#10070) * add `isNamedTuple`; make $(1, 2) be (1, 2) instead of leaking implementation detail (Field0: 1, Field1: 2) fixes this: #8670 (comment) /cc @alehander42 @Vindaar @mratsim * Note: isNamedTuple is useful in other places, eg #10010 (comment) * move isNamedTuple to helpers.nim to avoid exposing new symbol to system.nim * remove workaround in tests/vm/tissues.nim failing test now that #10218 was makes it work | ||||
* | testament: joinable is now an explicit concept of a test spec | Andreas Rumpf | 2018-12-11 | 1 | -1/+2 |
| | |||||
* | lots of small changes | Arne Döring | 2018-12-11 | 1 | -2/+2 |
| | |||||
* | megatest can be executed | Arne Döring | 2018-12-11 | 1 | -0/+0 |
| | |||||
* | require errormsg to be specified before file. | Arne Döring | 2018-12-11 | 2 | -6/+3 |
| | |||||
* | make some tests faster (#9413) | Miran | 2018-10-17 | 1 | -25/+6 |
| | | | | | | | | | | | | * remove duplicated slow test * smaller `convex hull` * smaller sleep * faster `trtree` * smaller sleep in `tfuturestream` | ||||
* | Merge tests into a larger file (part 1 of ∞) (#9318) | Miran | 2018-10-12 | 15 | -716/+704 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge actiontable tests * merge arithm tests * merge array tests * merge assign tests * merge bind tests * merge casestmt tests * merge closure tests * merge cnt seq tests * merge collections tests * merge concept issues tests * merge concept tests * fix failing tests * smaller outputs Use `doAssert` where possible. * fix wrong output * split `tcomputedgoto` * revert merging concepts * fix failing test | ||||
* | Updated tests for CritBitTree $ | data-man | 2018-06-07 | 1 | -3/+3 |
| | |||||
* | Modify hash for HashSet to use `xor` to mix hash of items. | Lolo Iccl | 2018-05-09 | 1 | -4/+0 |
| | |||||
* | Modify previous commit and add tests | Lolo Iccl | 2018-05-09 | 1 | -4/+52 |
| | |||||
* | make tests green | Andreas Rumpf | 2018-05-05 | 1 | -2/+2 |
| | |||||
* | Don't escape multibyte characters (#7570) | Oscar Nihlgård | 2018-04-23 | 1 | -2/+8 |
| | |||||
* | Fixed mutex usage in SharedList and SharedTable. Closes #6988 (#6990) | Yuriy Glukhov | 2017-12-31 | 1 | -1/+2 |
| | |||||
* | Improved collection-to-string behavior (#6825) | Fabian Keller | 2017-12-14 | 3 | -3/+109 |
| | |||||
* | Remove expr/stmt (#5857) | Arne Döring | 2017-07-25 | 1 | -1/+1 |
| | |||||
* | Implement 'take' for Table and TableRef (#5773) | Ruslan Mustakov | 2017-05-04 | 1 | -0/+15 |
| | |||||
* | Deques compilation error fix (#5591) | Dmitriy Fomichev | 2017-03-24 | 1 | -0/+17 |
| | |||||
* | Added clear() function for OrderedSet and HashSet. (#5545) | GrundleTrundle | 2017-03-16 | 1 | -0/+42 |
| | |||||
* | Add compute proc for SharedTable (#5385) | Ruslan Mustakov | 2017-03-02 | 1 | -1/+25 |
| | |||||
* | added hash for uints (#5435) | Fabian Keller | 2017-02-26 | 1 | -0/+15 |
| | |||||
* | reenabled clear test, made clear working (#5323) | Arne Döring | 2017-02-02 | 1 | -22/+20 |
| | |||||
* | Fixes #5035 | Felix Krause | 2016-11-18 | 1 | -1/+24 |
| | |||||
* | Table fixes. fixes #4901 | Felix Krause | 2016-10-23 | 1 | -0/+33 |
| | | | | | | | | * added `==` for OrderedTable, CountTable and the *Ref types * added missing documentation to all `==` procs * fixed clear() for OrderedTables, which did not work because `var` does not work well with `|` * added tests | ||||
* | fixes a critical tables bug that caused 'enlarge' to crash after 'add' | Andreas Rumpf | 2016-09-05 | 1 | -0/+13 |
| | |||||
* | Disable failing tests for tables.clear() | Kier Davis | 2016-07-09 | 1 | -20/+22 |
| | | | | | The tests for tables.clear() in tests/collections/ttables.nim currently fail as a result of #4448, so I've wrapped them in a 'when false' to disable them until the bug is fixed. | ||||
* | Add tests for tables.clear() | Kier Davis | 2016-07-09 | 2 | -0/+46 |
| | | | | This should reduce the chance of regressions. | ||||
* | Merge branch 'mget' of https://github.com/def-/Nim into def--mget | Araq | 2015-10-13 | 2 | -3/+9 |
|\ | | | | | | | | | | | | | | | | | | | Conflicts: lib/pure/collections/critbits.nim lib/pure/collections/tables.nim lib/pure/xmltree.nim lib/system/sets.nim tests/collections/ttables.nim tests/collections/ttablesref.nim | ||||
| * | Rename mget to `[]` | def | 2015-03-31 | 2 | -17/+23 |
| | | | | | | | | | | | | | | | | | | - In sets, tables, strtabs, critbits, xmltree - This uses the new var parameter overloading - mget variants still exist, but are deprecated in favor of `[]` - Includes tests and fixed tests and usages of mget - The non-var `[]` now throws an exception instead of returning binary 0 or an empty string | ||||
* | | improves new tests | Araq | 2015-10-12 | 2 | -3/+12 |
| | | |||||
* | | sequtils related changes | Peter Mora | 2015-10-05 | 2 | -0/+35 |
| | | |||||
* | | tests: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 2 | -3/+3 |
| | | | | | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | | added hash function for ordinal types | Fabian Keller | 2015-07-03 | 1 | -0/+75 |
| | | |||||
* | | Merge pull request #2660 from MrJohz/contains-tables | Andreas Rumpf | 2015-05-08 | 2 | -15/+19 |
|\ \ | | | | | | | Add contains proc for tables to allow usage of `in` | ||||
| * | | Add contains proc for tables to allow usage of `in` | Jonathan | 2015-05-05 | 2 | -15/+19 |
| | | | |||||
* | | | Merge pull request #2596 from Nycto/devel | Varriount | 2015-05-07 | 1 | -14/+34 |
|\ \ \ | |/ / |/| | | Fix floats in tuples in HashSets | ||||
| * | | Fix floats in tuples in HashSets | Nycto | 2015-04-24 | 1 | -14/+34 |
| |/ | | | | | | | | | Previously, the added tests would fail to compile with errors complaining that 'hash(float)' didn't exist | ||||
* / | fixes #2625 | Araq | 2015-05-03 | 1 | -0/+19 |
|/ | |||||
* | Added Test for zip() with anonymous tuples. | Hans Raaf | 2015-03-17 | 1 | -2/+7 |
| | |||||
* | Fix unknown symbol in tables mpairs iterator. | Hans Raaf | 2015-02-21 | 1 | -0/+16 |
| | | | | Fixes an error with mpairs iterator which was introduced with 5fbcf93860. This is used by nimforum thats why I found it. I also added a testcase for the mpairs iterator. | ||||
* | added test case for #2107 | Araq | 2015-02-20 | 1 | -0/+10 |
| | |||||
* | Add some unit tests for mgetOrPut and hasKeyOrPut. | Charles Blake | 2015-02-17 | 1 | -1/+9 |
| | |||||
* | New probe seq swaps 1st two keys. Fix in compare. | Charles Blake | 2015-02-16 | 1 | -1/+1 |
| | |||||
* | New probe seq swaps 1st two keys. Fix in cmp. | Charles Blake | 2015-02-13 | 1 | -1/+1 |
| | |||||
* | fixed minor bugs; cleaned up tests | Araq | 2015-02-12 | 6 | -21/+342 |
| | |||||
* | moved tsets test to collections/ | Simon Hafner | 2014-02-12 | 1 | -0/+17 |
| | |||||
* | indexBy, which indexes a collection into a hashtable | Simon Hafner | 2014-02-06 | 1 | -0/+22 |