Made it easier to run individual unit tests

This commit is contained in:
Simon Brooke 2019-01-18 20:55:03 +00:00
parent b433171fb6
commit 46a4132823
36 changed files with 4 additions and 0 deletions

View file

@ -101,6 +101,10 @@ struct cons_pointer make_integer( int64_t value, struct cons_pointer more ) {
* integer arguments `a` and `b`, and return a pointer to the result. If
* either `a` or `b` is not an integer, returns `NIL`.
*/
/* TODO: there is a significant bug here, which manifests in multiply but
* may not manifest in add. The value in the least significant cell ends
* up significantly WRONG, but the value in the more significant cell
* ends up correct. */
struct cons_pointer operate_on_integers( struct cons_pointer a,
struct cons_pointer b,
char op) {