mirror of
https://github.com/ProgramSnail/pass_strategy_synthesis.git
synced 2026-06-11 03:38:15 +00:00
struct: fixes, first (empty) synthesizer test
This commit is contained in:
parent
781fdbafd2
commit
a130ffe819
3 changed files with 20 additions and 5 deletions
|
|
@ -2,6 +2,8 @@ open Tests_f
|
|||
open Synthesizer
|
||||
open Relational
|
||||
|
||||
let%expect_test "prog eval test 1" = print_endline (prog_eval_t1 ()); [%expect {| [StEnv (MemEnv ([], O), TypesEnv ([]), ValsEnv ([]))] |}]
|
||||
|
||||
(* type tests *)
|
||||
(* let%expect_test "Tag type test" = print_endline (Tag.Test.test ()); [%expect {| [Tag (Rd, NeverWr, Ref, In, NOut)] |}] *)
|
||||
(* let%expect_test "Stmt type test (1)" = print_endline (Stmt.Test.test1 ()); [%expect {| [[S (S (O))]] |}] *)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue