diff options
Diffstat (limited to 'phrase-extract')
-rw-r--r-- | phrase-extract/ScoreFeatureTest.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/phrase-extract/ScoreFeatureTest.cpp b/phrase-extract/ScoreFeatureTest.cpp index 60d931438..f82448ab0 100644 --- a/phrase-extract/ScoreFeatureTest.cpp +++ b/phrase-extract/ScoreFeatureTest.cpp @@ -26,8 +26,8 @@ #include <boost/test/unit_test.hpp> #include <boost/assign/list_of.hpp> -//#include <unordered_set> -//#include <unordered_map> +#include <unordered_set> +#include <unordered_map> using namespace MosesTraining; using namespace std; @@ -83,7 +83,6 @@ static void checkDomainConfigured( BOOST_CHECK(manager.includeSentenceId()); } -/* template<typename T> T adder(T v) { @@ -95,7 +94,7 @@ T adder(T first, Args... args) { return first + adder(args...); } -*/ + BOOST_AUTO_TEST_CASE(manager_config_domain) { @@ -112,7 +111,6 @@ BOOST_AUTO_TEST_CASE(manager_config_domain) checkDomainConfigured<SparseSubsetDomainFeature> (boost::assign::list_of("--SparseDomainSubset")("/dev/null")); - /* // C++11 testing unordered_set<int> s; s.insert(4); @@ -137,6 +135,6 @@ BOOST_AUTO_TEST_CASE(manager_config_domain) std::string s1 = "x", s2 = "aa", s3 = "bb", s4 = "yy"; std::string ssum = adder(s1, s2, s3, s4); - */ + } |