Unit Testing: xUnit++
New unit testing framework: https://bitbucket.org/moswald/xunit.
THEORY("Foo shouldn't throw exceptions", (int x, int y),
(0, 0),
(1, 0),
(-1, 0))
{
Assert.DoesNotThrow([=]() { Foo(x, y); });
}
Written by Matt Oswald
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tdd
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#