Differences From Artifact [eeaf3e0ae9]:
- File tests/OFNumber.m — part of check-in [42886185fd] at 2010-02-19 16:36:20 on branch trunk — Update copyright. (user: js, size: 992) [annotate] [blame] [check-ins using] [more...]
To Artifact [74f86e0a57]:
- File tests/OFNumber.m — part of check-in [a57d46cb3b] at 2010-03-13 22:27:08 on branch trunk — Add -[{and,or,xor,shiftLeft,shiftRight}:] to OFNumber. (user: js, size: 1174) [annotate] [blame] [check-ins using]
︙ | |||
36 37 38 39 40 41 42 43 44 | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | + + + + + + | TEST(@"-[decrease]", [[num decrease] isEqual: [OFNumber numberWithInt32: 123456788]]) TEST(@"-[divideBy:]", [[num divideBy: [OFNumber numberWithInt: 2]] asInt] == 61728394) TEST(@"-[xor:]", [[num xor: [OFNumber numberWithInt: 123456831]] asInt] == 42) TEST(@"-[shiftRight:]", [[num shiftRight: [OFNumber numberWithInt: 8]] asInt] == 482253) [pool drain]; } |