add rom_test.cc
This commit is contained in:
20
src/app/rom_test.cc
Normal file
20
src/app/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