panlei
2019-11-12 7cb7884e4bd7f27d811474d4e95f29eebac845cd
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)
}