Mercurial > hg > orthanc
diff UnitTestsSources/VersionsTests.cpp @ 1604:1f5d6a2f9638
JpegReader
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 01 Sep 2015 14:57:13 +0200 |
parents | 33d34bc4ac15 |
children | 2921384cc352 |
line wrap: on
line diff
--- a/UnitTestsSources/VersionsTests.cpp Tue Sep 01 13:08:41 2015 +0200 +++ b/UnitTestsSources/VersionsTests.cpp Tue Sep 01 14:57:13 2015 +0200 @@ -42,6 +42,7 @@ #include <boost/version.hpp> #include <sqlite3.h> #include <lua.h> +#include <jpeglib.h> #if ORTHANC_SSL_ENABLED == 1 #include <openssl/opensslv.h> @@ -116,6 +117,12 @@ ASSERT_STREQ("1.5.12", PNG_LIBPNG_VER_STRING); } +TEST(Versions, JpegStatic) +{ + ASSERT_EQ(9, JPEG_LIB_VERSION_MAJOR); + ASSERT_EQ(1, JPEG_LIB_VERSION_MINOR); +} + TEST(Versions, CurlSslStatic) { curl_version_info_data * vinfo = curl_version_info(CURLVERSION_NOW);