rect/point.go
Derek McQuay b5a9726d2d created rectangle struct and IsRect()
defined what a rectangle is and also implemented IsRect(), which returns
a bool whether the coordinates given make a rectangle or not.  Tests
were written for IsRect()
2016-08-26 09:08:30 -07:00

6 lines
50 B
Go

package rect
type Point struct {
X, Y float64
}