2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-02 00:19:35 +00:00

add unit tests for sequence architecture

This commit is contained in:
Jan
2021-02-19 23:17:53 +01:00
parent 5a7b184aa2
commit e09793818f
3 changed files with 102 additions and 17 deletions
@@ -4,8 +4,9 @@
class SequenceArchitecture final : public CommandsParser::sequence_t
{
static constexpr auto TAG_X86 = 1;
static constexpr auto TAG_X64 = 2;
static constexpr auto CAPTURE_ARCHITECTURE = 1;
std::unordered_map<std::string, Architecture> m_architecture_mapping;
protected:
void ProcessMatch(CommandsParserState* state, SequenceResult<CommandsParserValue>& result) const override;