diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-28 11:29:55 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-28 11:29:55 +0000 |
| commit | d71cadd49158dde3fbb1eab5ee41943c288b45d0 (patch) | |
| tree | 07d4e3c45704195434ea3c62c55424930dc8ca69 /test | |
| parent | 2bbe490b330e858d9f3ab6822cc6bd8e9ac7da4c (diff) | |
More tweaks to image filename ordering.
Diffstat (limited to 'test')
| -rw-r--r-- | test/image_filename_sorter_test.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/image_filename_sorter_test.cc b/test/image_filename_sorter_test.cc index 4bdd16f55..a4762a8c6 100644 --- a/test/image_filename_sorter_test.cc +++ b/test/image_filename_sorter_test.cc @@ -32,6 +32,7 @@ BOOST_AUTO_TEST_CASE (image_filename_sorter_test) BOOST_CHECK (x ("00057.tif", "00166.tif")); BOOST_CHECK (x ("/my/numeric999/path/00057.tif", "/my/numeric999/path/00166.tif")); BOOST_CHECK (x ("1_01.tif", "1_02.tif")); + BOOST_CHECK (x ("EWS_DCP_092815_000000.j2c", "EWS_DCP_092815_000001.j2c")); BOOST_CHECK (!x ("abc0000000002", "abc0000000001")); BOOST_CHECK (!x ("2", "1")); @@ -40,4 +41,6 @@ BOOST_AUTO_TEST_CASE (image_filename_sorter_test) BOOST_CHECK (!x ("999", "1")); BOOST_CHECK (!x ("/my/numeric999/path/00166.tif", "/my/numeric999/path/00057.tif")); BOOST_CHECK (!x ("1_02.tif", "1_01.tif")); + BOOST_CHECK (!x ("EWS_DCP_092815_000000.j2c", "EWS_DCP_092815_000000.j2c")); + BOOST_CHECK (!x ("EWS_DCP_092815_000100.j2c", "EWS_DCP_092815_000000.j2c")); } |
