Commit 58cdb1e5 authored by Davis King's avatar Davis King

Added a new test

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403620
parent 191437d4
...@@ -77,7 +77,10 @@ namespace ...@@ -77,7 +77,10 @@ namespace
for (unsigned long i = 0; i < samples.size(); ++i) for (unsigned long i = 0; i < samples.size(); ++i)
{ {
if (lisf.add(samples[i])) if (lisf.add(samples[i]))
{
DLIB_TEST(equal(lisf[lisf.dictionary_size()-1], samples[i]));
++count; ++count;
}
} }
DLIB_TEST(count == lisf.dictionary_size()); DLIB_TEST(count == lisf.dictionary_size());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment