01 // PROJECT AT A GLANCE
C++ POOL — DAY 03
CBuilding libstring.a, a complete and tested string manipulation library.
One day to produce a standalone text-processing library, delivered as an archive ready to be linked into any program, with its battery of tests. It is as much an exercise in algorithmics as in software rigour.
A libstring.a static library exposing a C++-style string_t « object » in pure C: a structure carrying its buffer and its fourteen methods as function pointers, with constructor, destructor and a this parameter, all covered by Criterion tests.
PRIMARYC
DELIVERYTEAM RECORD
VERIFICATIONCriterion
SOURCEINSPECTOR READY
03 // KEY OUTCOMES
- A deliverable library, with a public header and tests
- Thinking about the exposed interface as much as about the implementation
BEYOND THE BRIEF
- Criterion tests and a tests_run rule with coverage, not required
04 // SOURCE TREE
READING SOURCE…