From 26249208a052b62799d9d10167ed9344c3b63f4b Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Sat, 10 Dec 2011 12:52:47 -0500 Subject: [PATCH] forgot to test left position --- test/units/sprites/layout_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/units/sprites/layout_test.rb b/test/units/sprites/layout_test.rb index 9c85f4c3..371e3eb3 100644 --- a/test/units/sprites/layout_test.rb +++ b/test/units/sprites/layout_test.rb @@ -58,6 +58,7 @@ class LayoutTest < Test::Unit::TestCase map = sprite_map_test(@options.merge(opts), 'repeat_x/*.png') assert_equal 6, map.width assert_equal [0, 4, 7, 9, 14, 4, 4], map.images.map(&:top) + assert_equal [0, 0, 0, 0, 0, 0, 3], map.images.map(&:left) end test 'repeat-x layout multi image' do