Retire MPE scaffold; stand up reaper_reasampler pure-core skeleton

Rename CMake project/module to reaper_reasampler, delete mpe_model/mpe_view,
add minimal pure bank_model lib + placeholder CTest. main.cpp loads, logs to
console, keeps the action-registration seam commented with the forever-stable
CEREBELLUM_REASAMPLER_ action-id prefix.
This commit is contained in:
2026-07-21 21:18:51 -04:00
parent bbc0b2c19e
commit acfc9daabc
5 changed files with 196 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
// 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 <cstdio>
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;
}