Restructured Testings

Separated the samples and test sets
This commit is contained in:
Seungheon Oh 2022-04-21 16:44:59 -05:00
parent bed2f37c2f
commit 0d99e36541
5 changed files with 165 additions and 258 deletions

View 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]
]