公告板
版本库
filestore
活动
搜索
登录
~jinersong
/
ruleprocess
派生自
ruleprocess
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
fix 空指针引用
panlei
2019-11-14
ad7cf53c446a71e65a3a914743f24ff041c8ac13
[~jinersong/ruleprocess.git]
/
algorithm
/
static
/
static_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
package main
import (
"fmt"
"ruleprocess/structure"
"testing"
)
func TestRect2Point(t *testing.T) {
rect := structure.Rect{100,100,200,200}
points := Rect2Point(rect)
fmt.Println(points)
}