HexSignedLongRenderer.hpp
Go to the documentation of this file.
1 // @formatter:off
2 //
3 // Balau core C++ library
4 //
5 // Copyright (C) 2008 Bora Software (contact@borasoftware.com)
6 //
7 // Licensed under the Boost Software License - Version 1.0 - August 17th, 2003.
8 // See the LICENSE file for the full license text.
9 //
10 
16 
17 #ifndef COM_BORA_SOFTWARE__BALAU_TESTING_TEST_RENDERERS__HEX_SIGNED_LONG_RENDERER
18 #define COM_BORA_SOFTWARE__BALAU_TESTING_TEST_RENDERERS__HEX_SIGNED_LONG_RENDERER
19 
20 #include <Balau/Testing/Impl/HexContainerRendererImpl.hpp>
21 
23 
27 template <template <typename> class ContainerA, template <typename> class ContainerE>
28 std::string render(const ContainerA<signed long> & actual, const ContainerE<signed long> & expected) {
29  return Impl::renderAsHex(actual, expected);
30 }
31 
32 } // namespace Balau::Testing::TestRenderers
33 
34 #endif // COM_BORA_SOFTWARE__BALAU_TESTING_TEST_RENDERERS__HEX_SIGNED_LONG_RENDERER
std::string render(const ContainerA< char > &actual, const ContainerE< char > &expected)
Overload for rendering char containers as hex values.
Definition: HexCharRenderer.hpp:28
Pre-defined renderers used to print test assertion failures.
Definition: HexCharRenderer.hpp:22