mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
23 lines
498 B
C++
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
|