#pragma once #include #include #include // Finds all files in the given folder. This is recursive. std::vector GetFilesInFolder(std::string folder, bool recursive, bool add_folder_to_path); std::vector ReadLines(std::string filename); void ParseTestExpectation(std::string filename, std::string* expected_output); void Fail(const std::string& message); void WriteToFile(const std::string& filename, const std::string& content); // note: this implementation does not disable this overload for array types // See http://en.cppreference.com/w/cpp/memory/unique_ptr/make_unique#Possible_Implementatiog template std::unique_ptr MakeUnique(Args&&... args) { return std::unique_ptr(new T(std::forward(args)...)); }