mirror of
https://github.com/SFML/SFML.git
synced 2024-11-29 06:41:05 +08:00
25 lines
657 B
C++
25 lines
657 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;
|
|
|
|
// Required because WindowUtil.cpp doesn't include WindowUtil.hpp
|
|
// NOLINTNEXTLINE(readability-redundant-declaration)
|
|
std::ostream& operator<<(std::ostream& os, const VideoMode& videoMode);
|
|
} // namespace sf
|