backend-infra-engineer: Release v0.3.3 snapshot

This commit is contained in:
scawful
2025-11-21 21:35:50 -05:00
parent 3d71417f62
commit 476dd1cd1c
818 changed files with 65706 additions and 35514 deletions

View File

@@ -4,16 +4,16 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "testing.h"
#include "app/rom.h"
#include "testing.h"
namespace yaze {
namespace test {
/**
* @brief Enhanced ROM for testing that behaves like a real ROM but with test data
*
* @brief Enhanced ROM for testing that behaves like a real ROM but with test
* data
*
* This class extends Rom to provide testing utilities while maintaining
* all the real ROM functionality. Instead of mocking methods, it loads
* real test data into the ROM.
@@ -37,28 +37,28 @@ class MockRom : public Rom {
}
return status;
}
/**
* @brief Store object-specific test data for validation
*/
void SetObjectData(int object_id, const std::vector<uint8_t>& data) {
object_data_[object_id] = data;
}
/**
* @brief Store room-specific test data for validation
*/
void SetRoomData(int room_id, const std::vector<uint8_t>& data) {
room_data_[room_id] = data;
}
/**
* @brief Check if object data has been set for testing
*/
bool HasObjectData(int object_id) const {
return object_data_.find(object_id) != object_data_.end();
}
/**
* @brief Check if room data has been set for testing
*/