Document Analysis Project in C - Part 2 (version 2)

This second part of the project builds upon the set of library functions from part 1. Implement the functions in the order specified below. You are required to submit your code after completing each function. An extensive set of unit tests is included along with a Makefile. You will also be required to implement your own unit tests in unit_tests_student.c. See the file for details, and use the file unit_tests.c as a reference.

Development process

Setup

Download part2.zip.

Build the system:

You need to periodically verify that you do not have any memory leaks: valgrind --leak-check=full ./test

If your section is using the gitlab CI, update your .gitlab-ci.yml file PROJECT_FOLDER variable for this assignment

Unit Testing Notes

The zip file contains all of the files you need for the unit tests. These text files (empty.txt, one_word.txt, five_words.txt, and MLK_dream_excerpt.txt) must not be changed. The unit tests use these file to test your code.

Running the unit tests

Development Tips

Part 1 Updates & Extra Credit Opportunity

If you would like the opportunity to fix or make updates to your part 1 to be regraded AND the opportunity to earn 1 point of extra credit on Part 2 (Applied to the scaled grade), you can complete the following opportunity. Your Part 1 will not be re-evaluated unless you complete this extra credit step.
Regrading allows for you to earn up to the full 100% credit for Part 1 material including all code, submission, and Activity Journal points.
Hint: You can edit the CI configuration we provided to you as part of the CSV activity.

Overall Evaluation

Submission

Place your completed files and ActivityJournal.txt in a directory named analysis_part2 at the top level of your git repo.