mirror of
https://github.com/JamesTheGiblet/BuddAI.git
synced 2026-01-08 21:58:40 +00:00
Add comprehensive test suite for BuddAI v3.1
- Implemented tests for database initialization, SQL injection prevention, auto-learning pattern extraction, module detection, complexity detection, LRU cache performance, session export, actionable suggestions, repository indexing, search query safety, and context window management. - Utilized SQLite for database operations and temporary directories for test isolation. - Included detailed output for test results with color-coded pass/fail indicators.
This commit is contained in:
parent
406d848203
commit
da3530774b
8 changed files with 1885 additions and 21 deletions
21
examples/buddai_generated.csharp
Normal file
21
examples/buddai_generated.csharp
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
// Define the LED pin
|
||||
const int ledPin = 9;
|
||||
|
||||
void setup() {
|
||||
// Set up the LED pin as an output
|
||||
pinMode(ledPin, OUTPUT);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
// Turn the LED on
|
||||
digitalWrite(ledPin, HIGH);
|
||||
|
||||
// Wait for 1 second (1000 milliseconds)
|
||||
delay(1000);
|
||||
|
||||
// Turn the LED off
|
||||
digitalWrite(ledPin, LOW);
|
||||
|
||||
// Wait for another 1 second
|
||||
delay(1000);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue