Added more unit tests.

This commit is contained in:
Simon Brooke 2017-01-07 11:13:06 +00:00
parent 8026138b9c
commit 6eab3a531a
9 changed files with 60 additions and 7 deletions

View file

@ -29,7 +29,7 @@ void print( FILE* output, struct cons_pointer pointer) {
}
fputc( ')', output);
} else if ( check_tag( pointer, INTEGERTAG)) {
fprintf( output, " %ld", cell.payload.integer.value);
fprintf( output, "%ld", cell.payload.integer.value);
} else if ( check_tag( pointer, NILTAG)) {
fprintf( output, "NIL");
} else if ( check_tag( pointer, REALTAG)) {