[CI] remove unused cpp test helper function (#8625)
This commit is contained in:
parent
3ceeb8c61c
commit
b05abfc494
@ -38,12 +38,6 @@ bool FileExists(const std::string& filename) {
|
||||
return stat(filename.c_str(), &st) == 0;
|
||||
}
|
||||
|
||||
int64_t GetFileSize(const std::string& filename) {
|
||||
struct stat st;
|
||||
stat(filename.c_str(), &st);
|
||||
return st.st_size;
|
||||
}
|
||||
|
||||
void CreateSimpleTestData(const std::string& filename) {
|
||||
CreateBigTestData(filename, 6);
|
||||
}
|
||||
|
||||
@ -50,8 +50,6 @@ Float RelError(Float l, Float r) {
|
||||
|
||||
bool FileExists(const std::string& filename);
|
||||
|
||||
int64_t GetFileSize(const std::string& filename);
|
||||
|
||||
void CreateSimpleTestData(const std::string& filename);
|
||||
|
||||
// Create a libsvm format file with 3 entries per-row. `zero_based` specifies whether it's
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user