tests/cpp/test_metainfo: Add tests to save and load
This commit is contained in:
17
tests/cpp/helpers.h
Normal file
17
tests/cpp/helpers.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef XGBOOST_TESTS_CPP_HELPERS_H_
|
||||
#define XGBOOST_TESTS_CPP_HELPERS_H_
|
||||
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
std::string TempFileName();
|
||||
|
||||
long GetFileSize(const std::string filename);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user