Created
September 12, 2012 21:32
-
-
Save ChrisBuchholz/3710079 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define BOOST_TEST_DYN_LINK | |
#define BOOST_TEST_MODULE Addition | |
#include <boost/test/unit_test.hpp> | |
int addition(int i, int j) | |
{ | |
return i + j; | |
} | |
BOOST_AUTO_TEST_CASE(universeInOrder) | |
{ | |
BOOST_CHECK(addition(2, 2) == 4); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment