panlei
2019-12-09 f800147e68f2831ef3233555b7e2b3499b35bc5e
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)
}