Copy and paste the code from the appropriate example file into a Plutus or Marlowe Playground to test out the smart contracts.
Each contract will have the playground type near the top description.
Example smart contracts for Cardano written in Haskell for both Marlowe and Plutus
HaskellMIT