Skip to content

Commit

Permalink
google_test is added
Browse files Browse the repository at this point in the history
  • Loading branch information
el-carlitto committed Nov 8, 2022
1 parent d48b642 commit ee98597
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions btest_version.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#define BOOST_TEST_MODULE test_version

#include "lib.h"

#include <boost/test/unit_test.hpp>

BOOST_AUTO_TEST_SUITE(btest_version)

BOOST_AUTO_TEST_CASE(test_valid_version) {
BOOST_CHECK(version() > 0);
}

BOOST_AUTO_TEST_SUITE_END()

0 comments on commit ee98597

Please sign in to comment.