diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2011-07-05 23:19:54 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2011-07-05 23:19:54 -0400 |
commit | c3e46171f722f6276e2613ea6cb087b07325d794 (patch) | |
tree | 4a289539c4e7a972009dc2f1b680004b959547df /klm/lm/model_test.cc | |
parent | f91319978f6e74e5c4e5701da8fbbacb96a3161e (diff) | |
parent | 59932be2de387ecfcaa81a8387e8f21d5123c050 (diff) |
Merge branch 'master' of github.com:redpony/cdec
Diffstat (limited to 'klm/lm/model_test.cc')
-rw-r--r-- | klm/lm/model_test.cc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/klm/lm/model_test.cc b/klm/lm/model_test.cc index 548c098d..8bf040ff 100644 --- a/klm/lm/model_test.cc +++ b/klm/lm/model_test.cc @@ -243,13 +243,14 @@ BOOST_AUTO_TEST_CASE(probing) { LoadingTest<Model>(); } -/*BOOST_AUTO_TEST_CASE(sorted) { - LoadingTest<SortedModel>(); -}*/ BOOST_AUTO_TEST_CASE(trie) { LoadingTest<TrieModel>(); } +BOOST_AUTO_TEST_CASE(quant) { + LoadingTest<QuantTrieModel>(); +} + template <class ModelT> void BinaryTest() { Config config; config.write_mmap = "test.binary"; @@ -275,12 +276,12 @@ template <class ModelT> void BinaryTest() { BOOST_AUTO_TEST_CASE(write_and_read_probing) { BinaryTest<Model>(); } -/*BOOST_AUTO_TEST_CASE(write_and_read_sorted) { - BinaryTest<SortedModel>(); -}*/ BOOST_AUTO_TEST_CASE(write_and_read_trie) { BinaryTest<TrieModel>(); } +BOOST_AUTO_TEST_CASE(write_and_read_quant_trie) { + BinaryTest<QuantTrieModel>(); +} } // namespace } // namespace ngram |