| "testing" | "testing" | ||||
| ) | ) | ||||
| func TestEncodingMesage(t *testing.T) { | |||||
| func TestEncodingMessage(t *testing.T) { | |||||
| SetupConfig() | SetupConfig() | ||||
| //明文: | //明文: | ||||
| </xml>` | </xml>` | ||||
| e := Encode(msg) | e := Encode(msg) | ||||
| t.Log(e) | |||||
| //t.Log(e) | |||||
| d := Decode(e) | d := Decode(e) | ||||
| if d != msg { | if d != msg { |