Skip to content

Commit

Permalink
Prep for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Feser committed Feb 1, 2019
1 parent d2a8cca commit b836c1f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 2.0 (2019-02-01)

Initial release.
1 change: 1 addition & 0 deletions l2.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ maintainer: "Jack Feser <[email protected]>"
authors: "Jack Feser <[email protected]>"
homepage: "https://github.com/jfeser/L2"
bug-reports: "https://github.com/jfeser/L2/issues"
doc: "https://jfeser.github.io/L2/"
license: "Apache2.0"
dev-repo: "https://github.com/jfeser/L2.git"
build: [["dune" "build" "-p" name "-j" jobs]]
Expand Down
19 changes: 0 additions & 19 deletions test/v2_engine_tests.ml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,6 @@ let top = Specification.top
let cost_model_tests =
"cost-model"
>::: [ test_case (fun ctxt ->
let skel_str =
"(Apply_h\n\
\ ((Id_h (Name append) Top)\n\
\ ((Hole_h\n\
\ ((id 27) (ctx ()) (type_ (App_t list ((Const_t Num_t))))\n\
\ (symbol Expression))\n\
\ Top)\n\
\ (Hole_h\n\
\ ((id 28) (ctx ()) (type_ (App_t list ((Const_t Num_t))))\n\
\ (symbol Expression))\n\
\ Top)))\n\
\ Top)"
in
let h =
Skeleton.t_of_sexp (Sexp.of_string skel_str)
|> Hypothesis.of_skeleton cost_model
in
assert_equal ~ctxt ~printer:Int.to_string 1 (Hypothesis.cost h) )
; test_case (fun ctxt ->
let h =
let cm = cost_model in
let one = Hypothesis.num cm 1 top in
Expand Down

0 comments on commit b836c1f

Please sign in to comment.