From 1fab09f36bdd1e5473bb019cf9639f4a92b4daa1 Mon Sep 17 00:00:00 2001 From: Isabella Gottardi Date: Thu, 13 Jul 2017 15:55:57 +0100 Subject: COMPMID-424 Implemented reference implementation, new output valid region and validation tests (NEON and CL) for Scale Change-Id: I056fa3588b807a97cacf0b8afaec56e37ffc92af Reviewed-on: http://mpd-gerrit.cambridge.arm.com/83872 Tested-by: Kaizen Reviewed-by: Anthony Barbier --- tests/TypePrinter.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'tests/TypePrinter.h') diff --git a/tests/TypePrinter.h b/tests/TypePrinter.h index 49e717a48a..394ee9d87c 100644 --- a/tests/TypePrinter.h +++ b/tests/TypePrinter.h @@ -121,6 +121,13 @@ inline ::std::ostream &operator<<(::std::ostream &os, const BorderMode &mode) return os; } +inline std::string to_string(const BorderMode &mode) +{ + std::stringstream str; + str << mode; + return str.str(); +} + /** Formatted output of the NonLinearFilterFunction type. */ inline ::std::ostream &operator<<(::std::ostream &os, const NonLinearFilterFunction &function) { @@ -187,6 +194,13 @@ inline ::std::ostream &operator<<(::std::ostream &os, const InterpolationPolicy return os; } +inline std::string to_string(const InterpolationPolicy &policy) +{ + std::stringstream str; + str << policy; + return str.str(); +} + /** Formatted output of the ConversionPolicy type. */ inline ::std::ostream &operator<<(::std::ostream &os, const ConvertPolicy &policy) { -- cgit v1.2.1