Changeset 68

Show
Ignore:
Timestamp:
07/04/07 07:19:01 (1 year ago)
Author:
dan.lewis
Message:

DDoc work started.
Date still needs timezone work.
unittests for the Math object need to be written.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.9/makefile

    r56 r68  
    2121 
    2222walnut.exe : 
    23     GoRC /r /fo temporary\icon.res source\icon.rc 
     23    rcc -r -32 source\icon.rc -otemporary\icon.res 
    2424    cd source 
    2525    dmd $(DFLAGS) -od..\temporary $(SRC) 
     
    5252 
    5353test:  
    54     GoRC /r /fo temporary\icon.res source\icon.rc 
     54    rcc -r -32 source\icon.rc -otemporary\icon.res 
    5555    cd source 
    5656    dmd -unittest $(DFLAGS) -od..\temporary $(SRC) 
     
    6060    cd .. 
    6161 
     62doc: 
     63    cd source 
     64    dmd -D $(DFLAGS) -od..\temporary $(SRC) 
     65    copy *.html ..\documentation 
     66    del *.html 
     67    cd .. 
     68 
    6269zip : 
    6370    del backupSource.7z 
  • branches/1.9/source/test.d

    r66 r68  
    2929    recurseObject(Global,-1); 
    3030    printf("Stage 1 was successful.\n\n"); 
    31      
    32     printf("Stage 2, calling Date methods\n"); 
     31
     32 
     33 
     34unittest { 
     35    Value global = Global_init(); 
     36    printf("Stage 2, calling Math methods\n"); 
     37     
     38    printf("Stage 2 was successful.\n\n"); 
     39
     40 
     41 
     42unittest { 
     43    Value global = Global_init(); 
     44    printf("Stage 3, calling Date methods\n"); 
    3345    Value now; 
    3446    d_time now2 = Date_UTC(global,global).dt; 
     
    185197        printf("\t%.*s\n",Date_prototype_setUTCFullYear(now,global,args[i]).toString()); 
    186198    } 
    187     printf("Stage 2 was successful.\n\n"); 
     199    printf("Stage 3 was successful.\n\n"); 
    188200} 
     201 
     202 
     203