Files
cmake-examples/05-unit-testing/catch-vendored/Reverse.h
2017-09-24 17:16:29 +01:00

16 lines
291 B
C++

#ifndef __REVERSE_H__
#define __REVERSE_H__
#include <string>
/**
* Trivial class whose only function is to reverse a string.
* Should use std::reverse instead but want to have example with own class
*/
class Reverse
{
public:
std::string reverse(std::string& toReverse);
};
#endif