|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
#include "../../catch2/catch.hpp"#include "../../../include/ioutils/fileUtils.hpp"#include <fstream>#include <filesystem>Go to the source code of this file.
Functions | |
| SCENARIO ("creating sequential filenames", "[ioutils::fileUtils]") | |
| SCENARIO ("Getting a list of files", "[ioutils::fileUtils]") | |
| SCENARIO | ( | "creating sequential filenames" | , |
| "" | [ioutils::fileUtils] | ||
| ) |
Verify creation of sequential file names
Definition at line 13 of file fileUtils_test.cpp.
References mx::ioutils::getSequentialFilename().
| SCENARIO | ( | "Getting a list of files" | , |
| "" | [ioutils::fileUtils] | ||
| ) |
Tests that files are read according to the specification and sorted. Also tests basic errors.
Definition at line 92 of file fileUtils_test.cpp.
References mx::dirnotfound, mx::ioutils::getFileNames(), mx::invalidarg, and mx::noerror.