diff options
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 |