75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
[description isEqual: @"{(\n\tbaz,\n\tbar,\n\tfoo\n)}"]);
}
- (void)testCopy
{
OTAssertEqualObjects([[_set copy] autorelease], _set);
}
- (void)testIsSubsetOfSet
{
OTAssertTrue([([OFSet setWithObjects: @"foo", nil])
isSubsetOfSet: _set]);
OTAssertFalse([([OFSet setWithObjects: @"foo", @"Foo", nil])
isSubsetOfSet: _set]);
|
>
>
>
>
>
|
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
[description isEqual: @"{(\n\tbaz,\n\tbar,\n\tfoo\n)}"]);
}
- (void)testCopy
{
OTAssertEqualObjects([[_set copy] autorelease], _set);
}
- (void)testMutableCopy
{
OTAssertEqualObjects([[_set mutableCopy] autorelease], _set);
}
- (void)testIsSubsetOfSet
{
OTAssertTrue([([OFSet setWithObjects: @"foo", nil])
isSubsetOfSet: _set]);
OTAssertFalse([([OFSet setWithObjects: @"foo", @"Foo", nil])
isSubsetOfSet: _set]);
|