splay: add unit tests
authorDaniel Stenberg <daniel@haxx.se>
Fri, 10 Jun 2011 18:19:35 +0000 (20:19 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 10 Jun 2011 18:19:35 +0000 (20:19 +0200)
commitc4dd8df081898de39bc14ec378ed13eceb69ca6b
treea61b8256fe61fd3c9b3a08fd979d723cce0f2777
parent0f7bea7c3a6ddb0bf43f890c764322faaa3ba561
splay: add unit tests

The test code that was #ifdef'ed in the code was converted into unit
tests in test case 1309. I also removed the #if 0'ed code from splay.c
lib/splay.c
tests/data/test1309 [new file with mode: 0644]
tests/unit/Makefile.inc
tests/unit/unit1309.c [new file with mode: 0644]