b164dd6cc5
- 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
19 lines
890 B
OCaml
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 ;
|
|
]
|