// Step 777: AST-native projection benchmark suite (8 tests) #include "ast_native/ASTNativeProjectionBenchmark.h" #include 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: "<0.5,"conf");P();} void t6(){T(json_shape);auto j=ASTNativeProjectionBenchmarkSuite::toJson(ASTNativeProjectionBenchmarkSuite::run(10,1));C(j.contains("equivalence_confidence")&&j.contains("review_required_rate"),"shape");P();} void t7(){T(machine_readable);auto j=ASTNativeProjectionBenchmarkSuite::toJson(ASTNativeProjectionBenchmarkSuite::run(10,1));C(j.is_object(),"obj");P();} void t8(){T(deterministic);auto a=ASTNativeProjectionBenchmarkSuite::toJson(ASTNativeProjectionBenchmarkSuite::run(10,1)).dump();auto b=ASTNativeProjectionBenchmarkSuite::toJson(ASTNativeProjectionBenchmarkSuite::run(10,1)).dump();C(a==b,"det");P();} int main(){std::cout<<"Step 777: ASTNativeProjectionBenchmark\n";t1();t2();t3();t4();t5();t6();t7();t8();std::cout<<"\nResults: "<