@@ -14,21 +14,21 @@ #import "OFList.h" #import "OFAutoreleasePool.h" #import "OFString.h" #import "OFExceptions.h" -#import "main.h" +#import "TestsAppDelegate.h" static OFString *module = @"OFList"; static OFString *strings[] = { @"Foo", @"Bar", @"Baz" }; -void -list_tests() +@implementation TestsAppDelegate (OFListTests) +- (void)listTests { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; OFList *list; TEST(@"+[list]", (list = [OFList list])) @@ -68,5 +68,6 @@ TEST(@"-[isEqual:]", [list isEqual: [[list copy] autorelease]]) [pool drain]; } +@end