// Standalone tests for reasampler::bank_model — no REAPER, no test framework. // This is the point of splitting the model out: iterate the hard logic here with // a fast build/run loop instead of restarting REAPER. // // Milestone 0 placeholder: a single assertion proving the pure lib links and // runs under CTest. The real round-trip / dedup / tier / relative-path tests // arrive with the Milestone 1 data model (see TODO.md, PLAN.md). #include "../src/bank_model.h" #include using namespace reasampler; static int g_fail = 0; #define CHECK(cond) do { if(!(cond)) { \ std::printf("FAIL line %d: %s\n", __LINE__, #cond); ++g_fail; } } while(0) int main() { CHECK(bankModelVersion() == 1); if (g_fail == 0) std::printf("All tests passed.\n"); return g_fail ? 1 : 0; }