While writing DVM and later porting it to other platforms, I had the desire
to easily test the DVM implementation of the Micro-C library - I created the
following programs:

LIBTST
    This is a program I automatically generated from a list of functions,
    argument types and expected results. It covers most of the simpler
    functions in the library.

TST
    This makes it fairly easy to invoke and see the results of functions
    which are not quite so easy to automatically test.
    It implements the following commands:

    END                 - end test
    HELP                - list available test names
    KBGET               - kbget() - same char 3 times to end
    KBTST               - kbtst() - loops showing '.' since it doesn't halt
    VIDC                - Video functions using Vgetc
    VIDK                - "" usiung Vgetk
    MD path             - mkdir()
    RD path             - rmdir()
    CD path             - chdir()
    FINDF [pattern]     - find_first/find_next findfirsts/findnext
    FREAD [filename]    - fopen/fread/fclose
    FWRITE [filename]   - fopen/fwrite/fclose
    EXEC file [args]    - exec()
    SYS command         - system()
    DELAY               - count delay(1000) till key pressed
    RAMD A-Z size       - RDsetup()

Sorry, these were both fairly "Quick and Dirty" ... Not a lot of documentation
etc. but they do provide a basic but resonable comprehensive test of the
library.

Dave Dunfield   -   https://dunfield.themindfactory.com

