@@ -9,19 +9,20 @@ * the packaging of this file. */ #include "config.h" +#import "OFString.h" #import "OFNumber.h" #import "OFAutoreleasePool.h" -#import "main.h" +#import "TestsAppDelegate.h" static OFString *module = @"OFNumber"; -void -number_tests() +@implementation TestsAppDelegate (OFNumberTests) +- (void)numberTests { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; OFNumber *num; TEST(@"+[numberWithIntMax:]", @@ -46,5 +47,6 @@ TEST(@"-[shiftRight:]", [[num shiftRight: [OFNumber numberWithInt: 8]] asInt] == 482253) [pool drain]; } +@end