Skip to content
Snippets Groups Projects
Commit 04635452 authored by Paweł Kędzia's avatar Paweł Kędzia
Browse files

Fixed tests for class operator

parent a5b993fc
Branches
No related merge requests found
...@@ -151,13 +151,13 @@ BOOST_FIXTURE_TEST_CASE(get_word_class, SymbolsFix) ...@@ -151,13 +151,13 @@ BOOST_FIXTURE_TEST_CASE(get_word_class, SymbolsFix)
BOOST_FIXTURE_TEST_CASE(get_word_class_to_string, SymbolsFix) BOOST_FIXTURE_TEST_CASE(get_word_class_to_string, SymbolsFix)
{ {
GetWordClass wclass(pos_zero_constant); GetWordClass wclass(pos_zero_constant);
BOOST_CHECK_EQUAL("flex[0]", wclass.to_string(tagset)); BOOST_CHECK_EQUAL("class[0]", wclass.to_string(tagset));
} }
BOOST_FIXTURE_TEST_CASE(get_word_class_to_raw_string, SymbolsFix) BOOST_FIXTURE_TEST_CASE(get_word_class_to_raw_string, SymbolsFix)
{ {
GetWordClass wclass(pos_zero_constant); GetWordClass wclass(pos_zero_constant);
BOOST_CHECK_EQUAL("flex[0]", wclass.to_raw_string()); BOOST_CHECK_EQUAL("class[0]", wclass.to_raw_string());
} }
BOOST_AUTO_TEST_SUITE_END() BOOST_AUTO_TEST_SUITE_END()
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment