1 Star 0 Fork 0

lhtzbj12/robotn-gohook

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hook_test.go 297 Bytes
一键复制 编辑 原始数据 按行查看 历史
vz 提交于 2020-02-23 11:02 . add keycode test support
package hook
import (
"fmt"
"testing"
"github.com/vcaesar/tt"
)
func TestAdd(t *testing.T) {
fmt.Println("hook test...")
e := Start()
tt.NotNil(t, e)
}
func TestKey(t *testing.T) {
k := RawcodetoKeychar(0)
tt.Equal(t, "error", k)
r := KeychartoRawcode("error")
tt.Equal(t, 0, r)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lhtzbj12/robotn-gohook.git
[email protected]:lhtzbj12/robotn-gohook.git
lhtzbj12
robotn-gohook
robotn-gohook
master

搜索帮助