Skip to content

Commit

Permalink
Fixing spritesheet tests. (sheets potentially got smaller)
Browse files Browse the repository at this point in the history
  • Loading branch information
slembcke committed Apr 20, 2015
1 parent c180299 commit 59b5d1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SpriteBuilder/SpriteBuilder Tests/CCBPublisher_Tests.m
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ - (void)testSpriteSheets
// The resolutions tests may be a bit too much here, but there are no
// Tupac tests at the moment
[self assertFileExists:@"Published-iOS/sheet-2x.plist"];
[self assertPNGAtPath:@"Published-iOS/sheet-2x.png" hasWidth:32 hasHeight:16];
[self assertPNGAtPath:@"Published-iOS/sheet-2x.png" hasWidth:16 hasHeight:16];
[self assertFileExists:@"Published-iOS/sheet-4x.plist"];
[self assertPNGAtPath:@"Published-iOS/sheet-4x.png" hasWidth:32 hasHeight:32];
[self assertPNGAtPath:@"Published-iOS/sheet-4x.png" hasWidth:32 hasHeight:16];
[self assertFileExists:@"Published-iOS/sheet-1x.plist"];
[self assertPNGAtPath:@"Published-iOS/sheet-1x.png" hasWidth:16 hasHeight:8];

Expand Down

0 comments on commit 59b5d1c

Please sign in to comment.