SFML/test/TestUtilities/GraphicsUtil.hpp
2021-12-24 15:06:32 +01:00

23 lines
498 B
C++

// Header for SFML unit tests.
//
// For a new graphics module test case, include this header and not <doctest.h> directly.
// This ensures that string conversions are visible and can be used by doctest for debug output.
#ifndef SFML_TESTUTILITIES_GRAPHICS_HPP
#define SFML_TESTUTILITIES_GRAPHICS_HPP
#include "WindowUtil.hpp"
namespace doctest
{
class String;
}
namespace sf
{
class Color;
doctest::String toString(const Color& color);
}
#endif // SFML_TESTUTILITIES_GRAPHICS_HPP