packages feed

exchangealgebra-0.5.0.0: test/doctests.hs

module Main (main) where

import Test.DocTest

main :: IO ()
main = doctest  [ "-isrc"
                , "src/ExchangeAlgebra.hs"
                , "src/ExchangeAlgebra/Algebra/Internal.hs"
                  -- not reachable from the umbrella above; listed explicitly so
                  -- its Haddock examples are checked too.
                , "src/ExchangeAlgebra/Simulate/Network.hs"
                , "src/ExchangeAlgebra/Simulate/Policy.hs"
                  -- closing-adjustment builders: not re-exported from the
                  -- umbrella, so listed explicitly to check its examples too.
                , "src/ExchangeAlgebra/Bookkeeping.hs"
                  -- dependency-free input-conversion core: not re-exported from
                  -- the umbrella, so listed explicitly to check its examples too.
                , "src/ExchangeAlgebra/Convert.hs"
                , "src/ExchangeAlgebra/Convert/Csv.hs"
                , "src/ExchangeAlgebra/Convert/Checked.hs"
                , "src/ExchangeAlgebra/Assist.hs"
                , "src/ExchangeAlgebra/Reporting/Group.hs"
                  -- optimization layer: not re-exported from the umbrella,
                  -- so listed explicitly to check its examples too.
                , "src/ExchangeAlgebra/Optimize.hs"]