mirror of
https://github.com/ProgramSnail/Lama.git
synced 2026-01-03 04:28:19 +00:00
Testing
This commit is contained in:
parent
4f040532b2
commit
0b6f64646b
10 changed files with 727 additions and 60 deletions
6
regression/common.ml
Normal file
6
regression/common.ml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
open GT
|
||||
open Expr
|
||||
open Embedding
|
||||
|
||||
let state ps = List.fold_right (fun (x, v) s -> update x v s) ps empty
|
||||
let eval s e = Printf.printf "%d\n" (eval s e)
|
||||
Loading…
Add table
Add a link
Reference in a new issue