fix CPtabViewTest

This commit is contained in:
Antoine Mercadal committed 2010-10-28 11:01:38 +02:00
1 parent 48ebd2e954
commit 8ead5f63da
1 file changed
+2 -2
+2 -2
View File
@@ -58,8 +58,8 @@
- (void)testMiddleAfterMoveBound
{
var tabs = [_tabView tabs];
[_tabView setBounds:CPRectMake(12, 13, 20, 300)];
[self assert:([_tabView boundsSize].width / 2) equals:CPRectGetMidX([tabs frame])];
[_tabView setBounds:CPRectMake(100, 100, 20, 300)];
[self assert:([tabs boundsSize].width / 2) equals:CPRectGetMidX([tabs bounds])];
}
@end