📄 instruction_test.h
字号:
#include <cppunit/extensions/HelperMacros.h>
#include "Instruction.h"
using namespace Core;
class MU0_Load_Store : public Instruction
{
public:
virtual bool execute(void);
DECLARE_SINGLETON(MU0_Load_Store)
};
class MU0_Add_Sub : public Instruction
{
public:
virtual bool execute(void);
DECLARE_SINGLETON(MU0_Add_Sub)
};
class MU0_Instruction_Set : public Instruction_Set
{
public:
virtual void register_instructions();
DECLARE_SINGLETON(MU0_Instruction_Set)
};
class Instruction_Test : public CppUnit::TestFixture
{
CPPUNIT_TEST_SUITE(Instruction_Test);
CPPUNIT_TEST( test_instruction );
CPPUNIT_TEST_SUITE_END();
public:
void setUp();
void tearDown();
void test_instruction();
private:
Instruction_Set * instr_set_;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -