22 lines
326 B
Go
22 lines
326 B
Go
|
//
|
||
|
// unicode_helper_test.go
|
||
|
// Copyright (C) 2023 tiglog <me@tiglog.com>
|
||
|
//
|
||
|
// Distributed under terms of the MIT license.
|
||
|
//
|
||
|
|
||
|
package helper_test
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
|
||
|
"git.hexq.cn/tiglog/golib/helper"
|
||
|
)
|
||
|
|
||
|
func TestGetRange(t *testing.T) {
|
||
|
hp := helper.NewUnicodeHelper()
|
||
|
r1 := hp.GetRange(0xe0)
|
||
|
fmt.Println(r1)
|
||
|
}
|