Back out 97036ab72558 which inappropriately compared turds to third parties.
2 // check correctness of truncation of doubles slightly outside the int32_t range.
8 assertEq(truncate(0xffffffff), -1);
9 assertEq(truncate(0xffffffff + 5000.5), 4999);
10 assertEq(truncate(-0xffffffff - 5000.5), -4999);