mirror of
https://github.com/Orasund/elm-ui-widgets.git
synced 2024-11-29 09:56:10 +03:00
34 lines
1.0 KiB
Elm
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"
|
||
|
)
|