Differences From Artifact [81aaac2175]:
- File
tests/OFStringTests.m
— part of check-in
[2a27cf3000]
at
2016-01-03 00:41:26
on branch trunk
— Update copyright
While at it, also update the mail address. (user: js, size: 28361) [annotate] [blame] [check-ins using]
To Artifact [a324e7bfdc]:
- File tests/OFStringTests.m — part of check-in [6ea8c2f107] at 2016-05-22 17:38:56 on branch trunk — Add -[OFString octalValue] (user: js, size: 28544) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
440 441 442 443 444 445 446 447 448 449 450 451 452 453 | [@"123f" hexadecimalValue] == 0x123f && [@"\t\n0xABcd\r" hexadecimalValue] == 0xABCD && [@" xbCDE" hexadecimalValue] == 0xBCDE && [@"$CdEf" hexadecimalValue] == 0xCDEF && [@"\rFeh " hexadecimalValue] == 0xFE && [@"\r\t" hexadecimalValue] == 0) /* * These test numbers can be generated without rounding if we have IEEE * floating point numbers, thus we can use == on them. */ TEST(@"-[floatValue]", [@"\t-0.25 " floatValue] == -0.25 && [@"\r-INFINITY\n" floatValue] == -INFINITY && | > > > > > > | 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 | [@"123f" hexadecimalValue] == 0x123f && [@"\t\n0xABcd\r" hexadecimalValue] == 0xABCD && [@" xbCDE" hexadecimalValue] == 0xBCDE && [@"$CdEf" hexadecimalValue] == 0xCDEF && [@"\rFeh " hexadecimalValue] == 0xFE && [@"\r\t" hexadecimalValue] == 0) TEST(@"-[octalValue]", [@"1234567" octalValue] == 01234567 && [@"\r\n123" octalValue] == 0123 && [@"765\t" octalValue] == 0765 && [@"\t\t\r\n" octalValue] == 0) /* * These test numbers can be generated without rounding if we have IEEE * floating point numbers, thus we can use == on them. */ TEST(@"-[floatValue]", [@"\t-0.25 " floatValue] == -0.25 && [@"\r-INFINITY\n" floatValue] == -INFINITY && |
︙ | ︙ |