mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-08 12:15:32 -05:00
tests
This commit is contained in:
parent
8e85872beb
commit
da188ec911
1 changed files with 5 additions and 0 deletions
|
|
@ -162,6 +162,11 @@ let push v x =
|
|||
then _grow v x;
|
||||
push_unsafe_ v x
|
||||
|
||||
(*$T
|
||||
let v = create () in push v 1; to_list v = [1]
|
||||
let v = of_list [1;2;3] in push v 4; to_list v = [1;2;3;4]
|
||||
*)
|
||||
|
||||
(** add all elements of b to a *)
|
||||
let append a b =
|
||||
if _empty_array a
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue