Code evaluation is subject to the following criterion's:
- Elegance 10%.
- Attention to details 10%.
- Modularity 10%.
- Number of test cases passed 70%.
Unit test cases are written in C++ and use boost unit case testing. To use it, you have to install the latest version of cmake (3.5.1). Test case codes will be published every Tuesday. Coding assignments must be submitted every Thursday at 13 Hrs. Late submissions are penalized.
It is highly recommended, students follow the proposed development process prior code submission.
- Understand the problem.
- Download the unit test cases for the assignment.
- Carefully review the test cases interfaces.
- Implement the interfaces in you project.
- Run the test cases with cmake and make.
The working directory project must contain the following directory structure
____ src
|
____ include
|
____lib
|
____ build
|
____ test
|
____CmakeLists.txt
Most of the projects involve implementing a shared library. The LinkedList directory gives the procedure for building a shared library. Unless indicated, no main program need to be implemented.
Once your project directory is ready, change directory to the project root and run the following commands:
cmake -Bbuild -H. # builds the projec makefiles
cd build # change directory to build
make # compile the
make test # run the test cases