mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-25 12:31:30 +00:00
78e5451f93
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
20 lines
368 B
C++
20 lines
368 B
C++
#include "stdafx.h"
|
|
#include "FuseTests.h"
|
|
|
|
void Fuse::Tests::read(std::ifstream& file) {
|
|
bool finished = false;
|
|
while (!file.eof()) {
|
|
Test test;
|
|
test.read(file);
|
|
finished = test.finish;
|
|
if (!finished)
|
|
tests[test.description] = test;
|
|
}
|
|
}
|
|
|
|
void Fuse::Tests::read(std::string path) {
|
|
std::ifstream file;
|
|
file >> std::hex;
|
|
file.open(path);
|
|
read(file);
|
|
} |