backend-infra-engineer: Post v0.3.9-hotfix7 snapshot (build cleanup)

This commit is contained in:
scawful
2025-12-22 00:20:49 +00:00
parent 2934c82b75
commit 5c4cd57ff8
1259 changed files with 239160 additions and 43801 deletions

View File

@@ -0,0 +1,27 @@
#include "integration/overworld_editor_test.h"
namespace yaze {
namespace test {
TEST_F(OverworldEditorTest, LoadAndSave) {
// Verify initial state
EXPECT_TRUE(overworld_editor_->IsRomLoaded());
// Perform Save
auto status = overworld_editor_->Save();
EXPECT_TRUE(status.ok()) << "Save failed: " << status.message();
}
TEST_F(OverworldEditorTest, SwitchMaps) {
// Test switching maps
overworld_editor_->set_current_map(0);
overworld_editor_->Update(); // Trigger sync
EXPECT_EQ(overworld_editor_->overworld().current_map_id(), 0);
overworld_editor_->set_current_map(1);
overworld_editor_->Update(); // Trigger sync
EXPECT_EQ(overworld_editor_->overworld().current_map_id(), 1);
}
} // namespace test
} // namespace yaze