mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
23 lines
538 B
C++
23 lines
538 B
C++
// Header for SFML unit tests.
|
|
//
|
|
// For a new window module test case, include this header.
|
|
// This ensures that string conversions are visible and can be used by doctest for debug output.
|
|
|
|
#pragma once
|
|
|
|
#include <SystemUtil.hpp>
|
|
|
|
#ifdef SFML_RUN_DISPLAY_TESTS
|
|
static constexpr bool skipDisplayTests = false;
|
|
#else
|
|
static constexpr bool skipDisplayTests = true;
|
|
#endif
|
|
|
|
// String conversions for doctest framework
|
|
namespace sf
|
|
{
|
|
class VideoMode;
|
|
|
|
std::ostream& operator<<(std::ostream& os, const VideoMode& videoMode);
|
|
} // namespace sf
|