mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-08 07:20:48 +00:00
18 lines
588 B
Objective-C
18 lines
588 B
Objective-C
#import "ObjectTesting.h"
|
|
#import <Foundation/NSAutoreleasePool.h>
|
|
#import <Foundation/NSSet.h>
|
|
|
|
|
|
int main()
|
|
{
|
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
|
NSMutableSet *testObj = [NSMutableSet set];
|
|
test_NSObject(@"NSMutableSet", [NSArray arrayWithObject:testObj]);
|
|
test_NSCoding([NSArray arrayWithObject:testObj]);
|
|
test_NSCopying(@"NSSet",@"NSMutableSet",
|
|
[NSArray arrayWithObject:testObj],NO,NO);
|
|
test_NSMutableCopying(@"NSSet",@"NSMutableSet",
|
|
[NSArray arrayWithObject:testObj]);
|
|
[arp release]; arp = nil;
|
|
return 0;
|
|
}
|