Araq
24ae0c387f
some love for the testsuite; fixed regressions
2015-03-01 21:41:21 +01:00
Hans Raaf
a471b3c87f
Added test for toHex().
2015-02-18 19:02:38 +01:00
Araq
10335fd726
fixed minor bugs; cleaned up tests
2015-02-12 14:56:56 +01:00
Simon Hafner
6f1152c66b
apparently the json spacing changed
2015-02-08 11:01:09 -06:00
def
e0ae9f5248
Clean up tests/stdlib
...
2 tests still fail:
- tircbot would need a benign pragma because of the locks
- tgetfileinfo uses os.getFileInfo() on nil, which segfaults instead of
throwing an exception as the tester expects
2015-02-04 20:24:01 +01:00
def
03db4d2930
Adapt the tester for permutations
...
Uses the bool return value now
2015-02-02 08:06:19 +01:00
def
1ae4d535cd
Add nextPermutation and prevPermutation
...
Fits best into algorithm module I guess. These are the most general
ways, an iterator could easily be implemented from this. Same algorithm
as in Rust: http://web.mit.edu/rust-lang_v0.11/doc/src/collections/var/tmp/alexp/rust/rust-0.11.0/src/libcollections/slice.rs.html#644
2015-02-01 18:29:01 +01:00
def
11a5a4a9a6
Fix SinglyLinkedRing in lists module
...
- SinglyLinkedRing's prepend was broken
- needed a tail so that prepend can work properly
- now append works as well, so I added it too
- simple testcase added as well
2015-02-01 03:04:18 +01:00
def
69d96b604b
Add tests for mitems
2015-01-29 15:30:50 +01:00
def
aae3c6c8b7
Get rid of deprecation warnings in pegs
2015-01-16 00:23:33 +01:00
Araq
27f1743793
release of 0.10.2
2014-12-29 10:32:00 +01:00
dyu
12f97a7151
strutils.rfind via char
2014-12-19 20:08:42 +08:00
Araq
bebac34f87
fixes #1352
2014-12-14 11:49:32 +01:00
Araq
a53e97fc89
Merge branch 'devel' into bigbreak
...
Conflicts:
lib/pure/osproc.nim
2014-11-03 22:50:55 +01:00
Simon Krauter
a7f5d550c1
Added test case
2014-11-03 12:18:45 +01:00
Araq
c6034277fc
further adaptations
2014-08-29 09:12:12 +02:00
Simon Jakobi
60a2d8ad58
Remove unnecessary import
2014-07-19 14:37:47 +02:00
Andreas Rumpf
23621857bb
Merge pull request #1099 from Varriount/os/getFileInfo
...
Added os.getFileInfo procedure.
2014-04-20 23:40:29 +02:00
Dominik Picheta
2fb5d62927
Tester now appreciates the test target. Modified 'cmd' in specs.
2014-04-16 21:28:19 +01:00
Clay Sweetser
9ce0ac38e5
Added tests for getFileInfo proc.
2014-04-16 03:35:09 -04:00
Dominik Picheta
941cc937d3
Fixes docgen.
2014-04-15 22:09:12 +01:00
Dominik Picheta
21d0cc8cdf
Add checks for invalid socket when creating sockets.
2014-04-15 13:51:25 +01:00
Araq
5a51a25fd0
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-03-27 21:24:53 +01:00
Varriount
f40625f5c4
Merge pull request #1032 from barcharcraz/lowerBound
...
Added lowerBound function to the stdlib
2014-03-27 15:08:19 -04:00
Araq
76ef752957
made some tests green
2014-03-27 19:43:17 +01:00
Jason Livesay
cabc5c80d3
Calling randomize() again within 1 second will now provide a different seed
2014-03-26 18:54:34 -07:00
Charlie Barto
baa304f370
added lowerBound function to algorithm library
2014-03-23 18:28:05 -04:00
Zahary Karadjov
49b0440c47
make some tests green
2014-03-16 20:42:49 +02:00
Zahary Karadjov
cda92048ba
fix some trivial errors in the test suite and some more regressions caused by tyTypeDesc[tyNone]
2014-02-18 02:46:14 +02:00
Clay Sweetser
ce5a494927
Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks.
2014-02-15 18:57:03 -05:00
Simon Hafner
0779d96a83
moved the tests for TSet to the correct place
2014-02-09 17:04:00 -06:00
Simon Hafner
75f232eb6e
removed unittest from talgorithm
2014-02-06 14:55:05 -06:00
Simon Hafner
e01fb17d02
product more robust against empty input
2014-01-30 23:55:43 -06:00
Simon Hafner
ac0f15379c
added Cartesian product
2014-01-30 02:07:55 -06:00
Araq
20b5f31c03
new tester; all tests categorized
2014-01-13 02:10:03 +01:00