package tezos-008-PtEdo2Zk-test-helpers

  1. Overview
  2. Docs
val equal : loc:string -> ('a -> 'a -> bool) -> string -> (Format.formatter -> 'a -> unit) -> 'a -> 'a -> (unit, Tezos_error_monad.TzCore.error list) result Lwt.t
val not_equal : loc:string -> ('a -> 'a -> bool) -> string -> (Format.formatter -> 'a -> unit) -> 'a -> 'a -> (unit, Tezos_error_monad.TzCore.error list) result Lwt.t
val equal_int : loc:string -> int -> int -> (unit, Tezos_error_monad.TzCore.error list) result Lwt.t
val not_equal_int : loc:string -> int -> int -> (unit, Tezos_error_monad.TzCore.error list) result Lwt.t
val equal_bool : loc:string -> bool -> bool -> (unit, Tezos_error_monad.TzCore.error list) result Lwt.t
val not_equal_bool : loc:string -> bool -> bool -> (unit, Tezos_error_monad.TzCore.error list) result Lwt.t

balance_is b c amount checks that the current balance of contract c is amount. Default balance type is Main, pass ~kind with Deposit, Fees or Rewards for the others.

balance_was_operated ~operand b c old_balance amount checks that the current balance of contract c is operand old_balance amount and returns the current balance. Default balance type is Main, pass ~kind with Deposit, Fees or Rewards for the others.

val print_balances : Tezos_008_PtEdo2Zk_test_helpers__Context.t -> Tezos_protocol_008_PtEdo2Zk.Protocol.Alpha_context.Contract.t -> (unit, Tezos_error_monad.TzCore.error list) result Lwt.t