move rom_test back to test lol
This commit is contained in:
@@ -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
20
src/test/rom_test.cc
Normal 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
|
||||
Reference in New Issue
Block a user