Fixes formatting violations that were causing CI failures. Applied clang-format-14 to ensure consistent code formatting across the codebase. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
20 lines
500 B
C++
20 lines
500 B
C++
#include "test_utils.h"
|
|
#include "app/controller.h"
|
|
|
|
namespace yaze {
|
|
namespace test {
|
|
namespace gui {
|
|
|
|
void LoadRomInTest(ImGuiTestContext* ctx, const std::string& rom_path) {
|
|
yaze::Controller* controller = (yaze::Controller*)ctx->Test->UserData;
|
|
controller->OnEntry(rom_path);
|
|
}
|
|
|
|
void OpenEditorInTest(ImGuiTestContext* ctx, const std::string& editor_name) {
|
|
ctx->MenuClick(absl::StrFormat("Editors/%s", editor_name).c_str());
|
|
}
|
|
|
|
} // namespace gui
|
|
} // namespace test
|
|
} // namespace yaze
|