summary refs log tree commit diff stats
path: root/tests/collections/ttables.nim
Commit message (Collapse)AuthorAgeFilesLines
* Add compute proc for SharedTable (#5385)Ruslan Mustakov2017-03-021-1/+25
|
* reenabled clear test, made clear working (#5323)Arne Döring2017-02-021-22/+20
|
* Fixes #5035Felix Krause2016-11-181-1/+24
|
* Table fixes. fixes #4901Felix Krause2016-10-231-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
* Disable failing tests for tables.clear()Kier Davis2016-07-091-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 Davis2016-07-091-0/+21
| | | | This should reduce the chance of regressions.
* Merge branch 'mget' of https://github.com/def-/Nim into def--mgetAraq2015-10-131-1/+5
|\ | | | | | | | | | | | | | | | | | | 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 `[]`def2015-03-311-8/+11
| | | | | | | | | | | | | | | | | | - 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
* | Add contains proc for tables to allow usage of `in`Jonathan2015-05-051-7/+9
|/
* Fix unknown symbol in tables mpairs iterator.Hans Raaf2015-02-211-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.
* Add some unit tests for mgetOrPut and hasKeyOrPut.Charles Blake2015-02-171-1/+9
|
* New probe seq swaps 1st two keys. Fix in cmp.Charles Blake2015-02-131-1/+1
|
* fixed minor bugs; cleaned up testsAraq2015-02-121-21/+127
|
* indexBy, which indexes a collection into a hashtableSimon Hafner2014-02-061-0/+22