on master help sign in
Add test files to other-modules in test suite
commit93a7a7a0c599e0a4bb804fbdd0c66e25cbae1c80 authorHuw Campbell <huw.campbell@ambiata.com> dateWed 12 Apr 2017, 15:08 (10 years ago) parent60c263b
2 files changed+18−2
grenade.cabal+18 test/Test/Grenade/Network.hs−2
grenade.cabal+18
@@ -122,6 +122,24 @@ test-suite test
122122 hs-source-dirs:
123123 test
124124
125+
126+ other-modules: Test.Hedgehog.Compat
127+ Test.Hedgehog.Hmatrix
128+ Test.Hedgehog.TypeLits
129+
130+ Test.Grenade.Network
131+ Test.Grenade.Layers.Convolution
132+ Test.Grenade.Layers.FullyConnected
133+ Test.Grenade.Layers.Nonlinear
134+ Test.Grenade.Layers.PadCrop
135+ Test.Grenade.Layers.Pooling
136+ Test.Grenade.Layers.Internal.Convolution
137+ Test.Grenade.Layers.Internal.Pooling
138+ Test.Grenade.Layers.Internal.Reference
139+
140+ Test.Grenade.Recurrent.Layers.LSTM
141+ Test.Grenade.Recurrent.Layers.LSTM.Reference
142+
125143 if impl(ghc < 8.0)
126144 ghc-options: -fno-warn-incomplete-patterns
127145
test/Test/Grenade/Network.hs−2
@@ -243,8 +243,6 @@ prop_auto_diff = withTests 10000 . property $ do
243243
244244 result ~~~ expected
245245
246− where
247−
248246-- Make a shape where all are 0 except for 1 value, which is 1.
249247oneUp :: forall shape m. ( Monad m, SingI shape ) => Gen.Gen m (S shape)
250248oneUp =