Outstanding protocol (outstanding v0.2.3)

View Source

Protocol for comparing expected and actual, highlighting outstanding expectations unmet by actual

Summary

Functions

Outstanding of expected realised by actual, returns nil or outstanding

Is anything outstanding?

Types

result()

@type result() :: nil | t()

t()

@type t() :: t()

Functions

outstanding(expected, actual)

@spec outstanding(t(), any()) :: result()

Outstanding of expected realised by actual, returns nil or outstanding

outstanding?(expected, actual)

@spec outstanding?(t(), any()) :: boolean()

Is anything outstanding?