Restructure test source folders
This commit is contained in:
parent
d3a072fb63
commit
bc7258006c
12 changed files with 20 additions and 29 deletions
|
@ -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();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue