EightBit/LR35902/fusetest_LR35902/FuseExpectedTestResult.h
Adrian.Conlon 42b1b7dc53 Add a one off converter for Z80 -> LR35902 fuse tests (TBC!)
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-08-10 23:46:41 +01:00

28 lines
470 B
C++

#pragma once
#include <fstream>
#include <string>
#include <vector>
#include "FuseTestEvents.h"
#include "FuseRegisterState.h"
#include "FuseMemoryDatum.h"
namespace Fuse {
class ExpectedTestResult
{
public:
std::string description;
TestEvents events;
RegisterState registerState;
std::vector<MemoryDatum> memoryData;
bool finish;
ExpectedTestResult()
: finish(false) {}
void read(std::ifstream& file);
void write(std::ofstream& file);
};
}