Revision: | 1660 |
Committed: | Thu Oct 28 02:08:11 2004 UTC (19 years, 9 months ago) by tim |
File size: | 422 byte(s) |
Log Message: | Adding Test Case for ReplaceWildCard |
# | User | Rev | Content |
---|---|---|---|
1 | tim | 1660 | #include "utils/ReplaceWildCardTestCase.hpp" |
2 | #include <iostream> | ||
3 | #include <algorithm> | ||
4 | #include "utils/ReplaceWildCard.hpp" | ||
5 | // Registers the fixture into the 'registry' | ||
6 | CPPUNIT_TEST_SUITE_REGISTRATION( ReplaceWildCardTestCase ); | ||
7 | |||
8 | void ReplaceWildCardTestCase::testReplaceWildCard(){ | ||
9 | std::vector<std::vector<int> > sequences; | ||
10 | |||
11 | sequences = ReplaceWildCardTestCase(3); | ||
12 | CPPUNIT_ASSERT(sequences.size() == 7); | ||
13 | } |