ObjFW  Diff

Differences From Artifact [81aaac2175]:

To Artifact [a324e7bfdc]:


440
441
442
443
444
445
446






447
448
449
450
451
452
453
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 &&