Differences From Artifact [ae430dfeb5]:
- File tests/OFSetTests.m — part of check-in [07e630588d] at 2015-06-28 16:39:34 on branch trunk — tests: Use __VA_ARGS__ for TEST() and clean up (user: js, size: 3539) [annotate] [blame] [check-ins using]
To Artifact [bc85efc808]:
- File
tests/OFSetTests.m
— part of check-in
[be8db49635]
at
2015-11-29 14:26:44
on branch trunk
— Remove defines we no longer need
Now that we require GCC >= 4.6, those features are always available. (user: js, size: 3461) [annotate] [blame] [check-ins using]
︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | - - | @implementation TestsAppDelegate (OFSetTests) - (void)setTests { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; OFSet *set1, *set2; OFMutableSet *mutableSet; |
︙ | |||
87 88 89 90 91 92 93 | 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | - | nil]]) TEST(@"-[unionSet:]", R([mutableSet unionSet: [OFSet setWithObjects: @"x", @"bar", nil]]) && [mutableSet isEqual: [OFSet setWithObjects: @"baz", @"bar", @"x", nil]]) |
︙ | |||
128 129 130 131 132 133 134 | 125 126 127 128 129 130 131 132 133 134 135 | - | for (OFString *s in mutableSet) [mutableSet removeObject: s]; } @catch (OFEnumerationMutationException *e) { ok = true; } TEST(@"Detection of mutation during Fast Enumeration", ok); |