diff options
| author | 0x221E <0x221E@0xinfinity.dev> | 2026-04-12 16:59:40 +0200 |
|---|---|---|
| committer | 0x221E <0x221E@0xinfinity.dev> | 2026-04-12 16:59:40 +0200 |
| commit | a66c7433c2c11b8b6c99142277ed4e16b1a2a465 (patch) | |
| tree | e54bcfb59c303acf6118fd11f06d5c0bd5f24e5d /tests/test.cpp | |
Diffstat (limited to 'tests/test.cpp')
| -rw-r--r-- | tests/test.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/test.cpp b/tests/test.cpp new file mode 100644 index 0000000..54efda0 --- /dev/null +++ b/tests/test.cpp @@ -0,0 +1,21 @@ +#include <gtest/gtest.h> + +//#include "../src/Userspace.cpp" + +// uint8_t test[] = { +// 0xB8, 0x10, +// 0xB9, 0x10, +// 0x01, 0xC0, +// }; + +// Userspace user; + +TEST(ModRM_C0, ModRM) { + // auto a = user.GetCPUStatus(); + + // user.Upload2Memory(test, 6); + // user.Run(); + + //EXPECT_EQ(a.m_Registers[0], 0x20); + EXPECT_EQ(1, 1); +} |
