diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-29 21:16:15 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-29 21:16:15 +0400 |
commit | 6249432407af8730c10bccc7894c0725fcaf5e47 (patch) | |
tree | 3ac1f094b9fdc199b04bc5ef209ce00e3596e37d /mert/UtilTest.cpp | |
parent | 59bd7deb4b6b9c4f7b3b7dbb055783528fbc31ca (diff) |
beautify
Diffstat (limited to 'mert/UtilTest.cpp')
-rw-r--r-- | mert/UtilTest.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mert/UtilTest.cpp b/mert/UtilTest.cpp index f3ca6ca80..6f86d5144 100644 --- a/mert/UtilTest.cpp +++ b/mert/UtilTest.cpp @@ -5,7 +5,8 @@ using namespace MosesTuning; -BOOST_AUTO_TEST_CASE(util_get_next_pound_test) { +BOOST_AUTO_TEST_CASE(util_get_next_pound_test) +{ { std::string str("9 9 7 "); std::string substr; @@ -38,7 +39,8 @@ BOOST_AUTO_TEST_CASE(util_get_next_pound_test) { } } -BOOST_AUTO_TEST_CASE(util_tokenize_test) { +BOOST_AUTO_TEST_CASE(util_tokenize_test) +{ { std::vector<std::string> res; Tokenize("9 9 7", ' ', &res); @@ -66,7 +68,8 @@ BOOST_AUTO_TEST_CASE(util_tokenize_test) { } } -BOOST_AUTO_TEST_CASE(util_ends_with_test) { +BOOST_AUTO_TEST_CASE(util_ends_with_test) +{ BOOST_CHECK(EndsWith("abc:", ":")); BOOST_CHECK(EndsWith("a b c:", ":")); BOOST_CHECK(!EndsWith("a", ":")); |