aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/tests/testinstruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/tests/testinstruction.cpp')
-rw-r--r--qtmips_machine/tests/testinstruction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_machine/tests/testinstruction.cpp b/qtmips_machine/tests/testinstruction.cpp
index 4efedac..2cdf119 100644
--- a/qtmips_machine/tests/testinstruction.cpp
+++ b/qtmips_machine/tests/testinstruction.cpp
@@ -1,6 +1,8 @@
#include "tst_machine.h"
#include "instruction.h"
+using namespace machine;
+
// Test that we are correctly encoding instructions in constructor
void MachineTests::instruction() {
QCOMPARE(Instruction(0x00), Instruction(0,0));