Differences From Artifact [5ad06a7715]:
- File tests/OFSetTests.m — part of check-in [c7f0229795] at 2020-01-02 01:51:34 on branch trunk — Update copyright (user: js, size: 6415) [annotate] [blame] [check-ins using] [more...]
To Artifact [1aa6d32b7b]:
- File
tests/OFSetTests.m
— part of check-in
[25c985fec1]
at
2020-08-25 00:11:24
on branch trunk
— OFNumber: Remove (u)int{8,16,32,64} methods
Since C guarantees minimum sizes for char, short, int, long and long
long, these can be used instead. (user: js, size: 6411) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
274 275 276 277 278 279 280 | } TEST(@"Detection of mutation during Fast Enumeration", ok); TEST(@"-[valueForKey:]", [(set1 = [[setClass setWithObjects: @"a", @"ab", @"abc", @"b", nil] valueForKey: @"length"]) isEqual: [setClass setWithObjects: | | | | | 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 | } TEST(@"Detection of mutation during Fast Enumeration", ok); TEST(@"-[valueForKey:]", [(set1 = [[setClass setWithObjects: @"a", @"ab", @"abc", @"b", nil] valueForKey: @"length"]) isEqual: [setClass setWithObjects: [OFNumber numberWithInt: 1], [OFNumber numberWithInt: 2], [OFNumber numberWithInt: 3], nil]] && [[set1 valueForKey: @"@count"] isEqual: [OFNumber numberWithInt: 3]]) objc_autoreleasePoolPop(pool); } - (void)setTests { module = @"OFSet"; |
︙ | ︙ |