#pragma once #include #include #include #include #include class test_path : public CxxTest::TestSuite { public: void test_exists() { temporary_file temp; if (temp.get_path().exists()) { path_helper::delete_file(temp.get_path()); } TS_ASSERT(!temp.get_path().exists()); std::ofstream stream(temp.get_path().to_string()); TS_ASSERT(temp.get_path().exists()); } };