@@ -14,22 +14,22 @@ #import "OFArray.h" #import "OFAutoreleasePool.h" #import "OFString.h" #import "OFExceptions.h" -#import "main.h" +#import "TestsAppDelegate.h" static OFString *module = @"OFArray"; static OFString *c_ary[] = { @"Foo", @"Bar", @"Baz", nil }; -void -array_tests() +@implementation TestsAppDelegate (OFArrayTests) +- (void)arrayTests { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; OFArray *a[3]; OFMutableArray *m[2]; OFEnumerator *enumerator; @@ -187,5 +187,6 @@ [m[0] removeNObjects: 1]; #endif [pool drain]; } +@end