Sprint 66 (Steps 889-898): Runtime Semantics Packs — framework and platform awareness
Adds 8 graduation headers: RuntimeSemanticsPack, RuntimePackLoader, RuntimeAssumptionExtractor, RuntimeAwareLowering, RuntimeRaisingPolicy, RuntimeVerificationPlugin, RuntimeCompatibilityRiskReport, RuntimeProfileStore. MCP tools: whetstone_get_runtime_assumptions + whetstone_set_runtime_profile. All 10 steps pass (86 tests total across sprint 66). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
31
editor/tests/step898_test.cpp
Normal file
31
editor/tests/step898_test.cpp
Normal file
@@ -0,0 +1,31 @@
|
||||
// Step 898: Sprint 66 integration summary (6 tests)
|
||||
#include "Sprint66IntegrationSummary.h"
|
||||
#include <iostream>
|
||||
static int p=0,f=0;
|
||||
#define T(n) { std::cout << " " << #n << "... "; }
|
||||
#define P() { std::cout << "PASS\n"; ++p; }
|
||||
#define F(m) { std::cout << "FAIL: " << m << "\n"; ++f; }
|
||||
#define C(c,m) if(!(c)){F(m);return;}
|
||||
|
||||
void t1(){T(sprint_number);
|
||||
C(Sprint66IntegrationSummary::sprintNumber==66,"num");P();}
|
||||
void t2(){T(steps_completed);
|
||||
C(Sprint66IntegrationSummary::stepsCompleted==10,"steps");P();}
|
||||
void t3(){T(theme_set);
|
||||
std::string t=Sprint66IntegrationSummary::theme;
|
||||
C(!t.empty(),"theme");P();}
|
||||
void t4(){T(verify_true);
|
||||
C(Sprint66IntegrationSummary::verify(),"verify");P();}
|
||||
void t5(){T(to_json_sprint_field);
|
||||
auto j=Sprint66IntegrationSummary::toJson();
|
||||
C(j.contains("sprint")&&j["sprint"]==66,"json");P();}
|
||||
void t6(){T(to_json_tools_added);
|
||||
auto j=Sprint66IntegrationSummary::toJson();
|
||||
C(j.contains("tools_added"),"tools");P();}
|
||||
|
||||
int main(){
|
||||
std::cout<<"Step 898: Sprint 66 integration summary\n";
|
||||
t1();t2();t3();t4();t5();t6();
|
||||
std::cout<<"\nResults: "<<p<<"/"<<(p+f)<<" passed\n";
|
||||
return f?1:0;
|
||||
}
|
||||
Reference in New Issue
Block a user