elm-ui-widgets/tests/VerifyExamples/Widget/Switch0.elm
2021-02-02 22:22:10 +01:00

34 lines
1.0 KiB
Elm

module VerifyExamples.Widget.Switch0 exposing (..)
-- This file got generated by [elm-verify-examples](https://github.com/stoeffel/elm-verify-examples).
-- Please don't modify this file by hand!
import Test
import Expect
import Widget exposing (..)
import Widget.Material as Material
type Msg
= Activate
spec0 : Test.Test
spec0 =
Test.test "#switch: \n\n switch (Material.switch Material.defaultPalette)\n { description = \"Activate Dark Mode\"\n , onPress = Just Activate\n , active = False\n }\n |> always \"Ignore this line\"\n --> \"Ignore this line\"" <|
\() ->
Expect.equal
(
switch (Material.switch Material.defaultPalette)
{ description = "Activate Dark Mode"
, onPress = Just Activate
, active = False
}
|> always "Ignore this line"
)
(
"Ignore this line"
)