ligo/src/lib_data_encoding/test/test.ml
Grégoire Henry b164dd6cc5 Data_encoding: drop module Assert
- drop the quick-and-dirty `Assert` introduced when we switched from
  `Kaputt` and use `Alcotest.check` instead.

- split tests in multiple files:
  - success.ml
  - write_failure.ml
  - read_failture.ml
  - invalid_encoding.ml
  - randomized.ml
2018-05-24 15:43:15 +00:00

19 lines
890 B
OCaml

(**************************************************************************)
(* *)
(* Copyright (c) 2014 - 2018. *)
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
(* *)
(* All rights reserved. No warranty, explicit or implicit, provided. *)
(* *)
(**************************************************************************)
let () =
Random.init 100 ;
Alcotest.run "tezos-data-encoding" [
"success", Success.tests ;
"invalid_encoding", Invalid_encoding.tests ;
"read_failure", Read_failure.tests ;
"write_failure", Write_failure.tests ;
"randomized", Randomized.tests ;
]