#include "LCWhitespaceAnalyzer.h" #include "LCWhitespaceTokenizer.h" #include "GNUstep.h" #include #include "TestAnalyzer.h" @interface TestWhitespaceAnalyzer: NSObject @end @implementation TestWhitespaceAnalyzer - (void) testWhitespaceAnalyzer { NSString *s = @"This is a beautiful day!"; NSArray *a = [s componentsSeparatedByString: @" "]; LCWhitespaceAnalyzer *analyzer = [[LCWhitespaceAnalyzer alloc] init]; [analyzer compare: s and: a with: analyzer]; } @end