diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-07-27 15:15:55 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:16:42 +0100 |
commit | b9e9cff3a9293c60b53683ccfbf2c50dbbbbf44e (patch) | |
tree | c3fb53faf7a0644ab7fe7a6947274f2e38bd619f /tests/validation_new/Validation.cpp | |
parent | fa811656a2bd39bcabfc7f52270f1f5d655e0537 (diff) | |
download | ComputeLibrary-b9e9cff3a9293c60b53683ccfbf2c50dbbbbf44e.tar.gz |
COMPMID-415: Print tolerance on error
Change-Id: Ie9e85043ba0365ccc6223f5f27c7d852981ee699
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/81878
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/validation_new/Validation.cpp')
-rw-r--r-- | tests/validation_new/Validation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/validation_new/Validation.cpp b/tests/validation_new/Validation.cpp index 9071663e7c..a492bb6505 100644 --- a/tests/validation_new/Validation.cpp +++ b/tests/validation_new/Validation.cpp @@ -213,7 +213,7 @@ void validate(const IAccessor &tensor, const void *reference_value) { const float percent_mismatches = static_cast<float>(num_mismatches) / num_elements * 100.f; - ARM_COMPUTE_TEST_INFO(num_mismatches << " values (" << std::setprecision(2) << percent_mismatches << "%) mismatched"); + ARM_COMPUTE_TEST_INFO(num_mismatches << " values (" << std::fixed << std::setprecision(2) << percent_mismatches << "%) mismatched"); ARM_COMPUTE_EXPECT_EQUAL(num_mismatches, 0, framework::LogLevel::ERRORS); } } @@ -290,7 +290,7 @@ void validate(const IAccessor &tensor, BorderSize border_size, const BorderMode { const float percent_mismatches = static_cast<float>(num_mismatches) / num_elements * 100.f; - ARM_COMPUTE_TEST_INFO(num_mismatches << " values (" << std::setprecision(2) << percent_mismatches << "%) mismatched"); + ARM_COMPUTE_TEST_INFO(num_mismatches << " values (" << std::fixed << std::setprecision(2) << percent_mismatches << "%) mismatched"); ARM_COMPUTE_EXPECT_EQUAL(num_mismatches, 0, framework::LogLevel::ERRORS); } } |