LightRAG/tests/sample_cpp_repo
2025-11-22 17:43:59 -05:00
..
calculator.cpp Add integration testing setup with mock OpenAI server and sample C++ project 2025-11-22 17:43:59 -05:00
calculator.h Add integration testing setup with mock OpenAI server and sample C++ project 2025-11-22 17:43:59 -05:00
main.cpp Add integration testing setup with mock OpenAI server and sample C++ project 2025-11-22 17:43:59 -05:00
README.md Add integration testing setup with mock OpenAI server and sample C++ project 2025-11-22 17:43:59 -05:00
utils.cpp Add integration testing setup with mock OpenAI server and sample C++ project 2025-11-22 17:43:59 -05:00
utils.h Add integration testing setup with mock OpenAI server and sample C++ project 2025-11-22 17:43:59 -05:00

Sample C++ Project

This is a simple C++ project used for integration testing of LightRAG.

Files

  • main.cpp - Main application entry point
  • calculator.h - Calculator class header
  • calculator.cpp - Calculator class implementation
  • utils.h - Utility functions header
  • utils.cpp - Utility functions implementation

Building

g++ -o sample_app main.cpp calculator.cpp utils.cpp
./sample_app