Added primitive unit testing.
This commit is contained in:
parent
85cc542d74
commit
8026138b9c
8 changed files with 180 additions and 63 deletions
10
src/init.c
10
src/init.c
|
|
@ -18,17 +18,15 @@
|
|||
#include "read.h"
|
||||
|
||||
int main (int argc, char *argv[]) {
|
||||
printf( "Post scarcity software environment version %s\n", VERSION);
|
||||
// printf( "Post scarcity software environment version %s\n", VERSION);
|
||||
initialise_cons_pages();
|
||||
|
||||
printf( "Ready\n>> ");
|
||||
|
||||
struct cons_pointer input = read( stdin);
|
||||
inc_ref( input);
|
||||
printf( "\n:: ");
|
||||
//inc_ref( input);
|
||||
//printf( "\n:: ");
|
||||
print( stdout, input);
|
||||
|
||||
dump_pages(stdout);
|
||||
// dump_pages(stdout);
|
||||
// printf( "Tag2uint(\"FREE\") = %d\n", tag2uint("FREE"));
|
||||
|
||||
return(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue