overhaul directory structure

This commit is contained in:
Justin Scofield
2022-06-15 20:56:15 -04:00
parent 70c59d0e96
commit efcaad0f53
62 changed files with 6948 additions and 85 deletions

View File

@@ -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}
)

View File

@@ -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;

View File

@@ -3,7 +3,7 @@
namespace YazeTests {
TEST(YazeApplicationTests, TemplateTest) {
TEST(YazeapplicationTests, TemplateTest) {
int i = 0;
ASSERT_EQ(i, 0);
}