panlei
2019-11-18 d0c072e7e8714a9503e256f505ac7d5d157e9832
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)
}