mirror of https://github.com/vacp2p/nim-ngtcp2.git
Add unit test
This commit is contained in:
parent
b1f9dd4ab1
commit
211c6fb17c
|
@ -0,0 +1 @@
|
||||||
|
--path=".."
|
|
@ -0,0 +1,8 @@
|
||||||
|
import unittest
|
||||||
|
import ngtcp2
|
||||||
|
|
||||||
|
test "default settings":
|
||||||
|
var settings: ngtcp2_settings
|
||||||
|
ngtcp2_settings_default(addr settings)
|
||||||
|
check settings.transport_params.max_udp_payload_size > 0
|
||||||
|
check settings.transport_params.active_connection_id_limit > 0
|
Loading…
Reference in New Issue