martinmoene / lest

A modern, C++11-native, single-file header-only, tiny framework for unit-tests, TDD and BDD (includes C++98 variant)
Boost Software License 1.0
390 stars 45 forks source link

Add example using EXPECT from a function called from a CASE #24

Closed martinmoene closed 8 years ago

martinmoene commented 8 years ago

Add an example showing how to define a function or lambda that uses a lest assertion and that can be called from a CASE().

Add reference to example in Readme.

See also issue #23.

martinmoene commented 8 years ago

Done