panlei
2019-12-17 f8aa9316d6bf32392883081c3d08196f6ca344c9
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)
}