feat: complete cmpp platform phases 0-5

This commit is contained in:
hectorzhao
2026-07-01 13:22:04 +08:00
parent 824a8b334f
commit ee926fea04
86 changed files with 10490 additions and 14 deletions
+16
View File
@@ -0,0 +1,16 @@
package cmppadapter
import "testing"
func TestNewClientUsesGocmpp(t *testing.T) {
client := NewClient(ClientConfig{Version: Version30})
if client.Raw() == nil {
t.Fatal("expected gocmpp client")
}
}
func TestProtocolVersionMapping(t *testing.T) {
if toProtocolType(Version20).String() == toProtocolType(Version30).String() {
t.Fatal("expected CMPP 2.0 and 3.0 to map to different protocol types")
}
}