88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
forKey: keys[0]] hash]);
}
- (void)testCopy
{
OTAssertEqualObjects([[_dictionary copy] autorelease], _dictionary);
}
- (void)testValueForKey
{
OTAssertEqualObjects([_dictionary valueForKey: keys[0]], objects[0]);
OTAssertEqualObjects([_dictionary valueForKey: keys[1]], objects[1]);
OTAssertEqualObjects(
[_dictionary valueForKey: @"@count"], [OFNumber numberWithInt: 2]);
|
>
>
>
>
>
>
|
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
forKey: keys[0]] hash]);
}
- (void)testCopy
{
OTAssertEqualObjects([[_dictionary copy] autorelease], _dictionary);
}
- (void)testMutableCopy
{
OTAssertEqualObjects(
[[_dictionary mutableCopy] autorelease], _dictionary);
}
- (void)testValueForKey
{
OTAssertEqualObjects([_dictionary valueForKey: keys[0]], objects[0]);
OTAssertEqualObjects([_dictionary valueForKey: keys[1]], objects[1]);
OTAssertEqualObjects(
[_dictionary valueForKey: @"@count"], [OFNumber numberWithInt: 2]);
|