Differences From Artifact [809b5f5056]:
- File
tests/OFSet.m
— part of check-in
[301ee63212]
at
2011-11-20 18:41:25
on branch trunk
— Make OFString a class cluster.
It is a class cluster now, but there is still much to improve. (user: js, size: 3511) [annotate] [blame] [check-ins using]
To Artifact [1652ab5388]:
- File tests/OFSet.m — part of check-in [d8a6ca3fbd] at 2011-11-21 16:47:00 on branch trunk — There is no need to hash 32 bit per character if Unicode has only 24. (user: js, size: 3511) [annotate] [blame] [check-ins using]
︙ | |||
47 48 49 50 51 52 53 | 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | - + | TEST(@"-[isEqual:]", [set1 isEqual: set2]) TEST(@"-[hash]", [set1 hash] == [set2 hash]) TEST(@"-[description]", [[set1 description] |
︙ | |||
94 95 96 97 98 99 100 | 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | - + - + - + | #ifdef OF_HAVE_FAST_ENUMERATION ok = YES; i = 0; for (OFString *s in set1) { switch (i) { case 0: |
︙ |