summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/client6/client_test.go
blob: 1e05a6293635d8dadeeb0512c05b1da7bd42c596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package client6

import (
	"testing"

	"github.com/stretchr/testify/require"
)

func TestNewClient(t *testing.T) {
	c := NewClient()
	require.NotNil(t, c)
	require.Equal(t, DefaultReadTimeout, c.ReadTimeout)
	require.Equal(t, DefaultWriteTimeout, c.WriteTimeout)
}