Skip to content
Browse files

add additional check

  • Loading branch information...
1 parent 56ed013 commit fad3600113b5f9ca04461c26464bbb20667a4f49 @tobi committed Apr 30, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 gm_test.go
View
5 gm_test.go
@@ -53,6 +53,11 @@ func TestResizeSuccess(t *testing.T) {
log.Printf("resize failed %s", status)
t.Fail()
}
+
+ if img.Width() != 50 || img.Height() != 50 {
+ log.Printf("size was %dx%d", img.Width(), img.Height())
+ t.Fail()
+ }
}
func TestResizeFailure(t *testing.T) {

0 comments on commit fad3600

Please sign in to comment.
Something went wrong with that request. Please try again.