mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 07:41:05 +08:00
24 lines
675 B
C++
24 lines
675 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 Catch2 for debug output.
|
|
|
|
#pragma once
|
|
|
|
#include <SystemUtil.hpp>
|
|
#include <string>
|
|
|
|
// Required because WindowUtil.cpp doesn't include WindowUtil.hpp
|
|
// NOLINTNEXTLINE(readability-redundant-declaration)
|
|
std::string runDisplayTests();
|
|
|
|
// String conversions for Catch2
|
|
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
|