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/ReferenceTest.cpp | |
parent | 59bd7deb4b6b9c4f7b3b7dbb055783528fbc31ca (diff) |
beautify
Diffstat (limited to 'mert/ReferenceTest.cpp')
-rw-r--r-- | mert/ReferenceTest.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/mert/ReferenceTest.cpp b/mert/ReferenceTest.cpp index ad76de1f7..c33321227 100644 --- a/mert/ReferenceTest.cpp +++ b/mert/ReferenceTest.cpp @@ -5,12 +5,14 @@ using namespace MosesTuning; -BOOST_AUTO_TEST_CASE(refernece_count) { +BOOST_AUTO_TEST_CASE(refernece_count) +{ Reference ref; BOOST_CHECK(ref.get_counts() != NULL); } -BOOST_AUTO_TEST_CASE(refernece_length_iterator) { +BOOST_AUTO_TEST_CASE(refernece_length_iterator) +{ Reference ref; ref.push_back(4); ref.push_back(2); @@ -24,7 +26,8 @@ BOOST_AUTO_TEST_CASE(refernece_length_iterator) { BOOST_CHECK(it == ref.end()); } -BOOST_AUTO_TEST_CASE(refernece_length_average) { +BOOST_AUTO_TEST_CASE(refernece_length_average) +{ { Reference ref; ref.push_back(4); @@ -49,7 +52,8 @@ BOOST_AUTO_TEST_CASE(refernece_length_average) { } } -BOOST_AUTO_TEST_CASE(refernece_length_closest) { +BOOST_AUTO_TEST_CASE(refernece_length_closest) +{ { Reference ref; ref.push_back(4); @@ -92,7 +96,8 @@ BOOST_AUTO_TEST_CASE(refernece_length_closest) { } } -BOOST_AUTO_TEST_CASE(refernece_length_shortest) { +BOOST_AUTO_TEST_CASE(refernece_length_shortest) +{ { Reference ref; ref.push_back(4); |