This commit is contained in:
邹宗楠
2022-07-28 09:24:53 +08:00
parent 07e21a6dec
commit db8da30d67

View File

@@ -8,6 +8,7 @@ import (
"strconv"
"strings"
"testing"
"unicode/utf8"
)
func TestPrintMsg(t *testing.T) {
@@ -15,7 +16,7 @@ func TestPrintMsg(t *testing.T) {
msg := &model.PrintMsg{
ModelIDCULD: model.ModelIDCULD{},
PrintNo: "20220707000002",
Content: "<sound>64,64,66</sound>",
Content: "<sound>64,65,66</sound>",
OrderNo: 202207261655,
Status: 0,
Comment: "",
@@ -56,6 +57,7 @@ func TestCheckSum(t *testing.T) {
fmt.Println("22222")
}
fmt.Println("==========", int16Sound)
fmt.Println("======2====", utf8.RuneCountInString("64,65,66"))
}
func TestTen216(t *testing.T) {