Unit testing C code with gtest

from blog Notes on software development, | ↗ original
This post covers building and testing a minimal, but still useful, C project. We'll use Google's gtest and CMake for testing C code. This will serve as a foundation for some upcoming posts/projects on programming Linux, userland networking and interpreters. The first version of this post only included one module to test. The...