forgot to test left position

This commit is contained in:
Scott Davis 2011-12-10 12:52:47 -05:00
parent 6194cb478a
commit 26249208a0

View File

@ -58,6 +58,7 @@ class LayoutTest < Test::Unit::TestCase
map = sprite_map_test(@options.merge(opts), 'repeat_x/*.png') map = sprite_map_test(@options.merge(opts), 'repeat_x/*.png')
assert_equal 6, map.width assert_equal 6, map.width
assert_equal [0, 4, 7, 9, 14, 4, 4], map.images.map(&:top) 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 end
test 'repeat-x layout multi image' do test 'repeat-x layout multi image' do