github.com/tumi8/quic-go@v0.37.4-tum/noninternal/qtls/qtls_test.go (about) 1 package qtls 2 3 import ( 4 "crypto/tls" 5 6 . "github.com/onsi/ginkgo/v2" 7 . "github.com/onsi/gomega" 8 ) 9 10 var _ = Describe("qtls wrapper", func() { 11 It("gets cipher suites", func() { 12 for _, id := range []uint16{tls.TLS_AES_128_GCM_SHA256, tls.TLS_AES_256_GCM_SHA384, tls.TLS_CHACHA20_POLY1305_SHA256} { 13 cs := CipherSuiteTLS13ByID(id) 14 Expect(cs.ID).To(Equal(id)) 15 } 16 }) 17 })