panlei
2019-12-13 f55d05499e4464404d7fa181b0c0b9df25bd5665
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)
}