lgtk-0.1.0.2: lens-based GUI with Gtk backend
Control.MLens.ExtRef.Pure.Test
Contents
Description
Tests for the reference implementation of the ExtRef interface.
ExtRef
Synopsis
type Test i = Ext i (Writer [String])Source
Tests use a writer monad to tell errors.
(==>) :: (Eq a, Show a) => Ref (Test i) a -> a -> Test i ()Source
This operator checks the current value of a given reference.
runTest :: (forall i. Test i a) -> [String]Source
Test running results the list of error messages given by (==>).
(==>)
tests :: [String]Source
tests contains error messages; it should be emtpy.
tests
Look inside the sources for the tests.