title: How to write unit tests in plain C?
body: <p>I've started to dig into the <a href="http://en.wikipedia.org/wiki/GLib" rel="noreferrer">GLib</a> documentation and discovered that it also offers a unit testing framework.</p>
  
  <p>But how could you do unit tests in a procedural language? Or does it require to program OO in C?</p>