inited tr tests
This commit is contained in:
parent
998a2af674
commit
ec2a119f81
3 changed files with 22 additions and 2 deletions
|
|
@ -1,4 +1,10 @@
|
|||
module Spec.Int (HasLogicalModel (..), IntProp (..), intGenTests, intPureTests, intPlutarchTests) where
|
||||
module Spec.Int (
|
||||
HasLogicalModel (..),
|
||||
IntProp (..),
|
||||
intGenTests,
|
||||
intPureTests,
|
||||
intPlutarchTests,
|
||||
) where
|
||||
|
||||
import Apropos
|
||||
import Apropos.Script
|
||||
|
|
|
|||
|
|
@ -1 +1,10 @@
|
|||
module Spec.Treasury () where
|
||||
|
||||
import Test.Tasty (TestTree, testGroup)
|
||||
|
||||
tests :: [TestTree]
|
||||
tests =
|
||||
[ testGroup
|
||||
"treasury"
|
||||
[]
|
||||
]
|
||||
|
|
|
|||
|
|
@ -24,7 +24,12 @@ import Plutus.V1.Ledger.Scripts (Script)
|
|||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
policySucceedsWith :: String -> ClosedTerm PMintingPolicy -> ClosedTerm PData -> _ -> TestTree
|
||||
policySucceedsWith ::
|
||||
String ->
|
||||
ClosedTerm PMintingPolicy ->
|
||||
ClosedTerm PData ->
|
||||
_ ->
|
||||
TestTree
|
||||
policySucceedsWith tag policy redeemer scriptContext =
|
||||
scriptSucceeds tag $ compile (policy # redeemer # pconstant scriptContext)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue