From 6f4d49f95c3598e41a7532faa637f42d8be5f4dd Mon Sep 17 00:00:00 2001 From: John Richardson Date: Thu, 7 Sep 2017 11:21:10 +0100 Subject: COMPMID-504: Move NonLinearFilter to new validation Change-Id: Ie2e9c34dd541cf570b9aef29d94ac79e2360e0e9 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/87580 Reviewed-by: Moritz Pflanzer Tested-by: Kaizen --- 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 f276f45db0..2f9909ca2e 100644 --- a/tests/TypePrinter.h +++ b/tests/TypePrinter.h @@ -149,6 +149,13 @@ inline ::std::ostream &operator<<(::std::ostream &os, const NonLinearFilterFunct return os; } +inline std::string to_string(const NonLinearFilterFunction &function) +{ + std::stringstream str; + str << function; + return str.str(); +} + /** Formatted output of the MatrixPattern type. */ inline ::std::ostream &operator<<(::std::ostream &os, const MatrixPattern &pattern) { @@ -173,6 +180,13 @@ inline ::std::ostream &operator<<(::std::ostream &os, const MatrixPattern &patte return os; } +inline std::string to_string(const MatrixPattern &pattern) +{ + std::stringstream str; + str << pattern; + return str.str(); +} + /** Formatted output of the InterpolationPolicy type. */ inline ::std::ostream &operator<<(::std::ostream &os, const InterpolationPolicy &policy) { -- cgit v1.2.1