From b69e62775b6e390b15105ce5af76961f3a38ce14 Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Sun, 20 Sep 2026 22:01:52 -0300 Subject: tests for the constraint system --- test/integration/Registration.ml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'test/integration/Registration.ml') diff --git a/test/integration/Registration.ml b/test/integration/Registration.ml index 9eb3e4e..ad92ebb 100644 --- a/test/integration/Registration.ml +++ b/test/integration/Registration.ml @@ -10,15 +10,20 @@ module Make (S : Abstract.Storage.STORAGE) (C : Helpers.Storage.CONFIGURATOR) = let run conn = let open Utilities.Result in begin - let* root = I.initialize ~evaluators:["fol", Evaluators.FOL.make ()] conn in + let* root = I.initialize + ~evaluators:["fol", Evaluators.FOL.make (); "constraint", Evaluators.Constraint.make ()] + conn in let* branch = B.make conn in Kernel.Path.(update root ("branch" @/ this) "master" None (Some branch)) end |> Helpers.condition_as_failure |> ignore; begin - let* root = I.initialize ~evaluators:["fol", Evaluators.FOL.make ()] conn in + let* root = I.initialize + ~evaluators:["fol", Evaluators.FOL.make (); "constraint", Evaluators.Constraint.make ()] + conn in let* _ = Kernel.Path.(lookup root ("branch" @/ "master" @/ "multigroup" @/ this)) in let* _ = Kernel.Path.(lookup root ("evaluator" @/ "fol" @/ this)) in + let* _ = Kernel.Path.(lookup root ("evaluator" @/ "constraint" @/ this)) in Ok () end |> Helpers.condition_as_failure -- cgit v1.2.3