tests refactoring

This commit is contained in:
gabime
2015-12-13 14:59:48 +02:00
parent 6feaa29c62
commit 3d420a3bcf
4 changed files with 46 additions and 43 deletions

View File

@@ -1,4 +1,15 @@
#pragma once
#include <string>
#include<cstddef>
std::size_t count_lines(const std::string& filename);
void prepare_logdir();
std::string file_contents(const std::string& filename);
std::size_t count_lines(const std::string& filename);
std::ifstream::pos_type filesize(const std::string& filename);