Files
imaginary_mirror/options_test.go
2016-01-27 16:20:25 +00:00

16 lines
269 B
Go

package main
import "testing"
func TestBimgOptions(t *testing.T) {
imgOpts := ImageOptions{
Width: 500,
Height: 600,
}
opts := BimgOptions(imgOpts)
if opts.Width != imgOpts.Width || opts.Height != imgOpts.Height {
t.Error("Invalid width and height")
}
}