diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-02-20 02:39:24 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-02-20 02:39:24 +0400 |
commit | 5d1cfa0ebb164ed8d709c9d6e02f36dfb3134087 (patch) | |
tree | 9a5fb323a272cc501c623f84ad741fd377834989 /mert/Jamfile | |
parent | a7666735b504493ee4e2013f06758e30c7ce9623 (diff) |
Bug fix: tokenizer used in mert; add unit tests for that.
When tokenizing a string delimited by spaces (say, "9 9 8 7 ")
with Tokenize(), resulting a sequence of strings are
{"9", "9", "8", "7", "" }, which is different
from we have expected. We are not interested in empty strings.
This commit fix this issue, and add unit tests for
the tokenize functions.
Diffstat (limited to 'mert/Jamfile')
-rw-r--r-- | mert/Jamfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mert/Jamfile b/mert/Jamfile index b23078fbe..1ea403a07 100644 --- a/mert/Jamfile +++ b/mert/Jamfile @@ -44,5 +44,6 @@ exe pro : pro.cpp mert_lib ..//boost_program_options ; alias programs : mert extractor evaluator pro ; unit-test data_test : DataTest.cpp mert_lib ..//boost_unit_test_framework ; +unit-test util_test : UtilTest.cpp mert_lib ..//boost_unit_test_framework ; install legacy : programs : <location>. ; |