yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
test_conversation_minimal.cc
Go to the documentation of this file.
1#include <iostream>
4#include "app/rom.h"
5
6using namespace yaze;
7using namespace yaze::cli;
8using namespace yaze::cli::agent;
9
10int main() {
11 std::cout << "Test 1: Creating AI Service...\n";
12 auto ai_service = CreateAIService();
13 std::cout << "āœ… AI Service created\n";
14
15 std::cout << "Test 2: Creating Conversational Agent Service...\n";
17 std::cout << "āœ… Conversational Agent Service created\n";
18
19 std::cout << "Test 3: Creating ROM...\n";
20 Rom rom;
21 std::cout << "āœ… ROM created\n";
22
23 std::cout << "Test 4: Setting ROM context...\n";
24 service.SetRomContext(&rom);
25 std::cout << "āœ… ROM context set\n";
26
27 std::cout << "\nšŸŽ‰ All tests passed!\n";
28 return 0;
29}
The Rom class is used to load, save, and modify Rom data.
Definition rom.h:71
Namespace for the command line interface.
Definition cli.cc:11
std::unique_ptr< AIService > CreateAIService()
Main namespace for the application.