6 "github.com/anacrolix/missinggo"
7 "github.com/stretchr/testify/assert"
10 func TestDefaultExtensionBytes(t *testing.T) {
11 var pex peerExtensionBytes
12 missinggo.CopyExact(&pex, defaultExtensionBytes)
13 assert.True(t, pex.SupportsDHT())
14 assert.True(t, pex.SupportsExtended())
15 assert.False(t, pex.SupportsFast())