The center aligned test has to have 1 pixel margin

If either a container size or drawable size is odd then left(top)
and right(bottom) delta would not be equal, there would be 1 pixel
difference. So the test should allow 1 pixel difference.

Change-Id: I7e0d06f144a50560b60a4635383d9bed513b9ec9
1 file changed