Artifact d853382bbf48fa9c101b0926b3dca2c5e2740656:
- File th1ish/unit/000-001.th1ish — part of check-in [5f440c651a] at 2014-02-11 21:53:23 on branch trunk — Pulled in many of the core upstream th1ish unit tests. Fixed quiet/loud build option to work for the subdir builds. Pulled in latest th1ish amalgamation for a fix. (user: stephan size: 361)
$print "Assertions in progress..." assert 12 === 13+ 1 + 2 - 4 assert 13 === 13 assert -1 === +1 + 2 - 4 assert 4 === 8 * 4 / 8 assert 4 === 8 * 4 / 8 assert 2.0 === 1 * 2.0 // numeric type promotion assert 2 === 2 * 1.0 // optimizes ((X * 1.0)===X) - no type conversion assert 1 === 3.3 % 2 // modulo is always integer $print "Done!" "end of script #1"