1
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user