mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-06 13:30:45 +00:00
31 lines
601 B
C++
31 lines
601 B
C++
#pragma once
|
|
|
|
#include <fstream>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <tuple>
|
|
|
|
#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);
|
|
|
|
// returns a vector of: address, expected, actual
|
|
std::vector<std::tuple<int, int, int>> findDifferences(const EightBit::Memory& memory) const;
|
|
};
|
|
} |