move rom_test back to test lol

This commit is contained in:
scawful
2024-08-07 16:35:52 -04:00
parent d9d08b5369
commit f556cc83f6
2 changed files with 1 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ add_executable(
yaze_test
test/yaze_test.cc
test/libc_test.cc
test/rom_test.cc
test/emu/cpu_test.cc
test/emu/spc700_test.cc
test/emu/ppu_test.cc
@@ -24,7 +25,6 @@ add_executable(
test/zelda3/sprite_builder_test.cc
cli/command_handler.cc
app/rom.cc
app/rom_test.cc
app/core/common.cc
app/core/labeling.cc
app/editor/utils/gfx_context.cc

20
src/test/rom_test.cc Normal file
View File

@@ -0,0 +1,20 @@
#include "app/rom.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
namespace yaze {
namespace app {
class RomTest : public ::testing::Test {
protected:
Rom rom_;
};
TEST_F(RomTest, RomTest) {
EXPECT_EQ(rom_.size(), 0);
EXPECT_EQ(rom_.data(), nullptr);
}
} // namespace app
} // namespace yaze