File: test_poly.ml

package info (click to toggle)
janest-base 0.17.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,632 kB
  • sloc: ml: 48,653; ansic: 281; javascript: 126; makefile: 14
file content (15 lines) | stat: -rw-r--r-- 356 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
open! Base
include Test_poly_intf.Definitions
include (Base.Map.Poly : S)

let%expect_test "[Base.Map.Poly] creators/accessors" =
  let open
    Functor.Test_creators_and_accessors (Types) (Base.Map.Poly)
      (struct
        include Functor.Instance (Comparator.Poly)

        let create x = x
        let access x = x
      end) in
  [%expect {| |}]
;;