overhaul directory structure
This commit is contained in:
@@ -17,10 +17,10 @@ add_executable(
|
||||
yaze_test
|
||||
yaze_test.cc
|
||||
rom_test.cc
|
||||
../src/Application/Data/rom.cc
|
||||
../src/Application/Graphics/tile.cc
|
||||
../src/Application/Graphics/tile.cc
|
||||
../src/Application/Graphics/palette.cc
|
||||
../src/application/Data/rom.cc
|
||||
../src/application/Graphics/tile.cc
|
||||
../src/application/Graphics/tile.cc
|
||||
../src/application/Graphics/palette.cc
|
||||
${SNESHACKING_PATH}/compressions/alttpcompression.c
|
||||
${SNESHACKING_PATH}/compressions/stdnintendo.c
|
||||
${SNESHACKING_PATH}/tile.c
|
||||
@@ -33,7 +33,7 @@ add_executable(
|
||||
target_include_directories(
|
||||
yaze_test PUBLIC
|
||||
../src/Library/
|
||||
../src/Application/
|
||||
../src/application/
|
||||
${SNESHACKING_PATH}
|
||||
)
|
||||
|
||||
|
||||
@@ -35,8 +35,8 @@ class DecompressionTest : public ::testing::Test {
|
||||
void TearDown() override {}
|
||||
|
||||
unsigned int c_size_;
|
||||
yaze::Application::Data::ROM rom_;
|
||||
yaze::Application::Graphics::TilePreset tile_preset_;
|
||||
yaze::application::Data::ROM rom_;
|
||||
yaze::application::Graphics::TilePreset tile_preset_;
|
||||
};
|
||||
|
||||
TEST_F(DecompressionTest, test_valid_command_decompress) {
|
||||
@@ -93,7 +93,7 @@ TEST_F(DecompressionTest, test_compress_decompress) {
|
||||
|
||||
TEST_F(DecompressionTest, basic_test) {
|
||||
rom_.LoadFromFile("assets/alttp.sfc");
|
||||
tile_preset_.bpp_ = 4;
|
||||
tile_preset_.bits_per_pixel_ = 4;
|
||||
tile_preset_.length_ = 28672;
|
||||
tile_preset_.pc_tiles_location_ = 0x80000;
|
||||
tile_preset_.SNESTilesLocation = 0x0000;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
namespace YazeTests {
|
||||
|
||||
TEST(YazeApplicationTests, TemplateTest) {
|
||||
TEST(YazeapplicationTests, TemplateTest) {
|
||||
int i = 0;
|
||||
ASSERT_EQ(i, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user