diff options
author | Hubert Figuière <hub@figuiere.net> | 2017-01-11 09:47:02 -0500 |
---|---|---|
committer | Hubert Figuière <hub@figuiere.net> | 2017-01-11 09:47:02 -0500 |
commit | dc4ba4154e9934f0446871dc44be1cb93fd6be68 (patch) | |
tree | 6c9ae7597d6befd71ac661c8dfb6f80ee2a21e02 | |
parent | 2afa72dfde9432cc7de4e36063f5e7290d3bdb92 (diff) |
tests: M_PIl doesn't exist on macOS
-rw-r--r-- | exempi/tests/test-adobesdk.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/exempi/tests/test-adobesdk.cpp b/exempi/tests/test-adobesdk.cpp index 059f3ad..7a72460 100644 --- a/exempi/tests/test-adobesdk.cpp +++ b/exempi/tests/test-adobesdk.cpp @@ -101,7 +101,7 @@ BOOST_AUTO_TEST_CASE(test_getFloat) float_union piF; piF.value = M_PI; double_union piD; - piD.value = M_PIl; + piD.value = M_PI; // copy these byte representations // and flip endian as needed. @@ -134,9 +134,9 @@ BOOST_AUTO_TEST_CASE(test_getFloat) // check getting double double resultD = GetDoubleLE(doubleLE); - BOOST_CHECK(resultD == (double)M_PIl); + BOOST_CHECK(resultD == (double)M_PI); resultD = GetDoubleBE(doubleBE); - BOOST_CHECK(resultD == (double)M_PIl); + BOOST_CHECK(resultD == (double)M_PI); } BOOST_AUTO_TEST_SUITE_END() |