Initial commit: HTab spreadsheet engine and GemUI X11 frontend

This commit is contained in:
Luxferre committed 2026-11-30 17:45:17 +02:00
commit 395f458fee
55 files changed
+12682

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#include "tests/test_framework.hpp"
#include <iostream>
int main() {
int total = 0;
int failed = 0;
for (const auto& tc : htab::test::registry()) {
++total;
htab::test::failures_in_current_test() = 0;
tc.fn();
if (htab::test::failures_in_current_test() > 0) {
++failed;
std::cerr << "[FAIL] " << tc.name << "\n";
} else {
std::cout << "[PASS] " << tc.name << "\n";
}
}
std::cout << "Summary: " << (total - failed) << "/" << total << " tests passed.\n";
return failed == 0 ? 0 : 1;
}