anchor.diff:  :icons: font
   :numbered:
   :toc:
  +:pp: ++
   
   = Cgreen - Unit Tests for C and C++
   Marcus Baker <marcus@lastcraft.com>; Thomas Nilsson <thomas@junovagen.se>; João Freitas <joaohf@gmail.com>;
  
positive.code: ~~~~~~~~~~~~~~~~~~~~~~~
  
  Cgreen have been around for a while, developed and matured. There is
  another style of assertions that was the initial version, a style that
  we now call the 'legacy style', because it was more aligned with the
  original, now old, unit test frameworks. If you are not interested in
  historical artifacts, I recommend that you skip this section.
  
  But for completeness of documentation, here are the legacy style
  assertion macros:
  
negative.code: constraint macros. This is caused by the macros using argument strings
  to produce nice failure messages.
  
  
  Asserting C++ Exceptions
  ~~~~~~~~~~~~~~~~~~~~~~~~
  
  When you use *CGreen* with C++ there is one extra assertion available:
  
  |=========================================================
  |*Assertion* |*Description*
  | `assert_throws(exception, expression)` | Passes if evaluating `expression` throws `exception`
  |=========================================================
  
  
  BDD Style vs. TDD Style
  ~~~~~~~~~~~~~~~~~~~~~~~
  
  