Restructured Testings
Separated the samples and test sets
This commit is contained in:
parent
bed2f37c2f
commit
0d99e36541
5 changed files with 165 additions and 258 deletions
24
agora-test/Spec/Effect/TreasuryWithdrawal.hs
Normal file
24
agora-test/Spec/Effect/TreasuryWithdrawal.hs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{- |
|
||||
Module : Spec.Effect.TreasuryWithdrawalEffect
|
||||
Maintainer : seungheon.ooh@gmail.com
|
||||
Description: Sample based testing for Treasury Withdrawal Effect
|
||||
|
||||
This module tests the Treasury Withdrawal Effect.
|
||||
-}
|
||||
module Spec.Effect.TreasuryWithdrawal (currSymbol, signer, validator, validatorHashTN, scriptContext1, tests) where
|
||||
|
||||
import Spec.Sample.Effect.TreasuryWithdrawal
|
||||
|
||||
|
||||
import Agora.Effect.TreasuryWithdrawal
|
||||
|
||||
import Spec.Util
|
||||
|
||||
import Test.Tasty
|
||||
|
||||
tests :: [TestTree]
|
||||
tests =
|
||||
[ testGroup
|
||||
"effect"
|
||||
[effectSucceedsWith "test1" (treasuryWithdrawalValidator currSymbol) datum scriptContext1]
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue