Remove CPDF_PSEngine.Truncate test case
CPDF_PSEngine.Truncate test currently fails on Windows on ARM due to differences in float-to-int conversion.
Removing test case for consistency.
Bug: pdfium:1509
Change-Id: Idf82102795bba075547cde3b02f38a17ffa91cae
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/68770
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/AUTHORS b/AUTHORS
index 3c97237..97e7801 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -45,6 +45,7 @@
Robert Sesek <rsesek@chromium.org>
Sam Clegg <sbc@chromium.org>
Thomas Sepez <tsepez@chromium.org>
+Tibor Dusnoki <tdusnoki@inf.u-szeged.hu>
Wang Qing <wangqing-hf@loongson.cn>
Zhuo Qingliang <zhuo.dev@gmail.com>
diff --git a/core/fpdfapi/page/cpdf_psengine_unittest.cpp b/core/fpdfapi/page/cpdf_psengine_unittest.cpp
index a922de1..c2054fa 100644
--- a/core/fpdfapi/page/cpdf_psengine_unittest.cpp
+++ b/core/fpdfapi/page/cpdf_psengine_unittest.cpp
@@ -187,7 +187,5 @@
// behavior. See https://crbug.com/1314.
float max_int = std::numeric_limits<int>::max();
EXPECT_FLOAT_EQ(-max_int,
- DoOperator1(&engine, max_int * 2.0f, PSOP_TRUNCATE));
- EXPECT_FLOAT_EQ(-max_int,
DoOperator1(&engine, max_int * -1.5f, PSOP_TRUNCATE));
}