summary refs log tree commit diff stats
path: root/tests/collections
Commit message (Collapse)AuthorAgeFilesLines
* Remove expr/stmt (#5857)Arne Döring2017-07-251-1/+1
|
* Implement 'take' for Table and TableRef (#5773)Ruslan Mustakov2017-05-041-0/+15
|
* Deques compilation error fix (#5591)Dmitriy Fomichev2017-03-241-0/+17
|
* Added clear() function for OrderedSet and HashSet. (#5545)GrundleTrundle2017-03-161-0/+42
|
* Add compute proc for SharedTable (#5385)Ruslan Mustakov2017-03-021-1/+25
|
* added hash for uints (#5435)Fabian Keller2017-02-261-0/+15
|
* 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
* fixes a critical tables bug that caused 'enlarge' to crash after 'add'Andreas Rumpf2016-09-051-0/+13
|
* 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-092-0/+46
| | | | This should reduce the chance of regressions.
* Merge branch 'mget' of https://github.com/def-/Nim into def--mgetAraq2015-10-132-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 `[]`def2015-03-312-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 testsAraq2015-10-122-3/+12
| |
* | sequtils related changesPeter Mora2015-10-052-0/+35
| |
* | tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-042-3/+3
| | | | | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* | added hash function for ordinal typesFabian Keller2015-07-031-0/+75
| |
* | Merge pull request #2660 from MrJohz/contains-tablesAndreas Rumpf2015-05-082-15/+19
|\ \ | | | | | | Add contains proc for tables to allow usage of `in`
| * | Add contains proc for tables to allow usage of `in`Jonathan2015-05-052-15/+19
| | |
* | | Merge pull request #2596 from Nycto/develVarriount2015-05-071-14/+34
|\ \ \ | |/ / |/| | Fix floats in tuples in HashSets
| * | Fix floats in tuples in HashSetsNycto2015-04-241-14/+34
| |/ | | | | | | | | Previously, the added tests would fail to compile with errors complaining that 'hash(float)' didn't exist
* / fixes #2625Araq2015-05-031-0/+19
|/
* Added Test for zip() with anonymous tuples.Hans Raaf2015-03-171-2/+7
|
* 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.
* added test case for #2107Araq2015-02-201-0/+10
|
* Add some unit tests for mgetOrPut and hasKeyOrPut.Charles Blake2015-02-171-1/+9
|
* New probe seq swaps 1st two keys. Fix in compare.Charles Blake2015-02-161-1/+1
|
* New probe seq swaps 1st two keys. Fix in cmp.Charles Blake2015-02-131-1/+1
|
* fixed minor bugs; cleaned up testsAraq2015-02-126-21/+342
|
* moved tsets test to collections/Simon Hafner2014-02-121-0/+17
|
* indexBy, which indexes a collection into a hashtableSimon Hafner2014-02-061-0/+22