Restructure test source folders

This commit is contained in:
Jonny Paton 2018-08-20 08:51:42 +01:00 committed by Lukas Dürrenberger
parent d3a072fb63
commit bc7258006c
12 changed files with 20 additions and 29 deletions

View file

@ -1,20 +0,0 @@
// Note: No need to increase compile time by including TestUtilities/System.hpp
#include <SFML/System/String.hpp>
#include <SFML/System/Time.hpp>
#include <sstream>
// String conversions for Catch framework
namespace Catch
{
std::string toString(const sf::String& string)
{
return string.toAnsiString();
}
std::string toString(sf::Time time)
{
std::ostringstream stream;
stream << time.asMicroseconds() << "us";
return stream.str();
}
}