testbldr/should

A collection of assertion functions for use in tests, similar to gleeunit’s should module.

Functions

pub fn be_error(a: Result(a, b)) -> TestOutcome
pub fn be_false(a: Bool) -> TestOutcome
pub fn be_ok(a: Result(a, b)) -> TestOutcome
pub fn be_true(a: Bool) -> TestOutcome
pub fn equal(a: a, b: a) -> TestOutcome
pub fn not_equal(a: a, b: a) -> TestOutcome
Search Document