Skip to content

Commit e025673

Browse files
committed
0.5.1: switch to balls
1 parent c38815a commit e025673

File tree

6 files changed

+8
-23
lines changed

6 files changed

+8
-23
lines changed

.gitmodules

-12
Original file line numberDiff line numberDiff line change
@@ -1,12 +0,0 @@
1-
[submodule "testes"]
2-
path = testes
3-
url = https://github.com/disruptek/testes
4-
branch = master
5-
[submodule "criterion"]
6-
path = criterion
7-
url = https://github.com/disruptek/criterion
8-
branch = master
9-
[submodule "grok"]
10-
path = grok
11-
url = https://github.com/disruptek/grok
12-
branch = master

criterion

-1
This file was deleted.

grok

-1
This file was deleted.

skiplists.nimble

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
version = "0.5.0"
1+
version = "0.5.1"
22
author = "disruptek"
33
description = "skiplists"
44
license = "MIT"
55

66
requires "https://github.com/disruptek/grok < 1.0.0"
77
when not defined(release):
8-
requires "https://github.com/disruptek/testes >= 1.1.8 & < 2.0.0"
8+
requires "https://github.com/disruptek/balls >= 2.0.0 & < 3.0.0"
99
requires "https://github.com/disruptek/criterion < 1.0.0"
1010

1111
task test, "run unit tests":
1212
when defined(windows):
13-
exec "testes.cmd"
13+
exec "balls.cmd"
1414
else:
15-
exec findExe"testes"
15+
exec findExe"balls"

testes

-1
This file was deleted.

tests/test.nim

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import std/algorithm
33
import std/strutils
44
import std/random
55

6-
import testes
6+
import balls
77

88
# access internal fields
99
include skiplists
1010

1111
randomize()
1212

13-
testes:
13+
suite "skiplists":
1414

1515
## convenience
1616
proc `==`[T](s: SkipList[T]; v: T): bool = s.value == v
@@ -69,7 +69,7 @@ testes:
6969

7070
block:
7171
## add()
72-
testes:
72+
suite "add()":
7373
## adding stuff out of order
7474
var
7575
s = 5.newSkipList
@@ -101,7 +101,7 @@ testes:
101101

102102
block:
103103
## remove()
104-
testes:
104+
suite "remove()":
105105
var
106106
s = [3, 3, 5, 5, 7, 9, 9, 11, 11].toSkipList
107107
checkList s

0 commit comments

Comments
 (0)