mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-24 17:28:59 +00:00
19 lines
588 B
Mathematica
19 lines
588 B
Mathematica
|
#import "ObjectTesting.h"
|
||
|
#import <Foundation/NSAutoreleasePool.h>
|
||
|
#import <Foundation/NSSet.h>
|
||
|
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||
|
NSMutableSet *testObj = [NSMutableSet new];
|
||
|
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;
|
||
|
}
|