add testing infrastructure

This commit is contained in:
2026-05-06 23:05:14 -05:00
parent dc7ebdbb73
commit 35cc73b04f
6 changed files with 104 additions and 3 deletions

18
src/App.cpp Normal file
View File

@@ -0,0 +1,18 @@
#include "App.hpp"
void App::run() {
std::cout << "im an app and im running !!" << std::endl;
(void)foo();
return;
}
int32_t App::foo() {
return 12;
}

19
src/App.hpp Normal file
View File

@@ -0,0 +1,19 @@
#pragma once
#include <iostream>
#include <cstdint>
class App {
public:
App() = default;
~App() = default;
void run();
private:
int32_t foo();
};

View File

@@ -1,9 +1,14 @@
#include <iostream>
#include "App.hpp"
int main(int argc, char** argv) {
std::cout << "hi mom !" << std::endl;
App app;
app.run();
return 0;
}