This is an example of unit test.


1 Overview
dictionary.c and dictionary.h are a dictionary data structure general library.
Our purpose is to test the correctness of these two files.

The test case for dictionary.c is dictionary_test.c, which includes a main 
function and could be compiled into a single binary file to execute.

The hash.h header.h file is for building dictionary.c.

2 Build

Type make in the source directory. 


3 Run

execute the ./dictionary_test to run the test. The result will be displayed on 
the terminal. If tests succeed, the ./dictionary_test return 0, otherwise return 1;