]> granicus.if.org Git - curl/commit
tests: added test for Curl_splaygetbest to unit1309
authorDániel Bakai <daniel.bakai@tresorit.com>
Mon, 3 Apr 2017 07:16:21 +0000 (09:16 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 4 Apr 2017 21:48:14 +0000 (23:48 +0200)
commit6193770ee1f6771758a653730e7a1ecaf2cf9dc8
treee895a90a47ecb50d2e2836040d17af33f29c14da
parentde05bcb706243546d37047439dabc4e73054cfef
tests: added test for Curl_splaygetbest to unit1309

This checks the new behavior of Curl_splaygetbest, so that the smallest
node not larger than the key is removed, and FIFO behavior is kept even
when there are multiple nodes with the same key.

Closes #1358
tests/data/test1309
tests/unit/unit1309.c