aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/tests/tst_machine.h
blob: c05e8ad24e681cd5821b0771b4fa923d9e20027f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef TST_MACHINE_H
#define TST_MACHINE_H

#include <QtTest>

class MachineTests : public QObject {
    Q_OBJECT
private Q_SLOTS:
    // Registers
    void registers_gp0();
    void registers_rw_gp();
    void registers_rw_hi_lo();
    void registers_pc();
    // Memory
    void memory();
    void memory_data();
    void memory_section();
    void memory_section_data();
    void memory_endian();
    // ProgramMemory
    void program_memory();
    void program_memory_data();
    // Instruction
    void instruction_arithmetic();
    void instruction_arithmetic_data();
    void instruction_arithmetic_immediate();
    void instruction_arithmetic_immediate_data();
};

#endif // TST_MACHINE_H