repaired concordia test
This commit is contained in:
parent
68fecaddf8
commit
209e374226
@ -357,7 +357,6 @@ BOOST_AUTO_TEST_CASE( Tokenize )
|
||||
12,16 type: 1 value: kota
|
||||
*/
|
||||
|
||||
concordia.clearIndex();
|
||||
|
||||
BOOST_CHECK_EQUAL(ts.getTokens().size(), 3);
|
||||
BOOST_CHECK_EQUAL(ts.getTokens().at(1).getStart(), 9);
|
||||
@ -371,6 +370,9 @@ BOOST_AUTO_TEST_CASE( Tokenize )
|
||||
sentences.push_back("This, is (a) weird;! sentence <>");
|
||||
std::vector<TokenizedSentence> tokenizedSentences = concordia.tokenizeAll(sentences);
|
||||
|
||||
|
||||
concordia.clearIndex();
|
||||
|
||||
BOOST_CHECK_EQUAL(tokenizedSentences.size(), 3);
|
||||
BOOST_CHECK_EQUAL(tokenizedSentences.at(0).getTokens().size(), 3);
|
||||
BOOST_CHECK_EQUAL(tokenizedSentences.at(1).getTokens().size(), 2);
|
||||
|
Loading…
Reference in New Issue
Block a user