Added unit tests to establish that bignum addition and print work

the bug must be in multiplication.
This commit is contained in:
Simon Brooke 2019-01-18 13:39:12 +00:00
parent 7f93b04b72
commit c209abb4f9
5 changed files with 355 additions and 8 deletions

View file

@ -84,7 +84,7 @@ void dump_object( FILE * output, struct cons_pointer pointer ) {
L"\t\tInteger cell: value %ld, count %u\n",
cell.payload.integer.value, cell.count );
if ( !nilp( cell.payload.integer.more ) ) {
fputws( L"\t\tBIGNUM! More at\n:", output );
fputws( L"\t\tBIGNUM! More at:\n", output );
dump_object( output, cell.payload.integer.more );
}
break;