assert4hs-core-0.1.0: A set of assertion for writing more readable tests cases

Test.Fluent.Assertions.Maybe

Description

This library aims to provide a set of combinators to assert Maybe type.

Synopsis

# Documentation

assert if subject under is empty

 assertThat (Just 10) isNothing


assert if subject under is not empty

 assertThat (Just 10) isJust


assert if subject under is not empty and extract contained value

 assertThat (Just 10) extracting