From c5df535b43b08450ef744b23f4e468805ae57a0c Mon Sep 17 00:00:00 2001 From: gravermistakes Date: Sun, 18 Oct 2026 22:48:20 -0700 Subject: [PATCH] M3: add sociological/test.ecl --- core/src/economy/sims/sociological/test.ecl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 core/src/economy/sims/sociological/test.ecl diff --git a/core/src/economy/sims/sociological/test.ecl b/core/src/economy/sims/sociological/test.ecl new file mode 100644 index 0000000..574180f --- /dev/null +++ b/core/src/economy/sims/sociological/test.ecl @@ -0,0 +1,8 @@ +:- [engine]. +run :- + replicator_step([0.5,0.5],[2.0,1.0],0.2,N), N=[A,B], A > B, + hk_step([0.0,0.1,0.9,1.0],0.2,1.0,H), H=[H1,H2,H3,H4], H1 < 0.2, H4 > 0.8, + complex_contagion([1,3],[4,4],[0.5,0.5],Ad), Ad=[0,1], + pump_phase(0.1,3.0,0.9,promotion), + writeln('SOCIOLOGICAL TESTS PASSED'). +:- local initialization(run).