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 <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
diff --git a/tests/TypePrinter.h b/tests/TypePrinter.h
index 49e717a..394ee9d 100644
--- a/tests/TypePrinter.h
+++ b/tests/TypePrinter.h
@@ -121,6 +121,13 @@
     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 @@
     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)
 {