Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TinyApp.Interactive.Test
Documentation
data InteractiveM s a Source #
Instances
expectRenderEq :: HasCallStack => String -> InteractiveM s () Source #
expectRenderIs :: (HasCallStack, Show s, Eq s) => (String -> Bool) -> InteractiveM s () Source #
expectStateEq :: (HasCallStack, Show s, Eq s) => s -> InteractiveM s () Source #
expectStateIs :: (HasCallStack, Show s, Eq s) => (s -> Bool) -> InteractiveM s () Source #
expectContinue :: HasCallStack => InteractiveM s () Source #
expectExit :: HasCallStack => InteractiveM s () Source #
pressKey :: HasCallStack => Key -> InteractiveM s () Source #
pressKeys :: HasCallStack => [Key] -> InteractiveM s () Source #
pressKey' :: HasCallStack => Key -> [Modifier] -> InteractiveM s () Source #
inputString :: String -> InteractiveM s () Source #
sendEvent :: HasCallStack => Event -> InteractiveM s () Source #