elm-test init

Signed-off-by: Skyball2000 <thomas3654william@gmail.com>
main
Yan Wittmann 2022-11-07 09:21:49 +01:00 committed by Skyball2000
parent 4444a5125c
commit 902d5725d9
3 changed files with 37 additions and 21 deletions

View File

@ -1,25 +1,29 @@
{ {
"type": "application", "type": "application",
"source-directories": [ "source-directories": [
"src" "src"
], ],
"elm-version": "0.19.1", "elm-version": "0.19.1",
"dependencies": { "dependencies": {
"direct": { "direct": {
"elm/browser": "1.0.2", "elm/browser": "1.0.2",
"elm/core": "1.0.5", "elm/core": "1.0.5",
"elm/html": "1.0.0", "elm/html": "1.0.0",
"elm/random": "1.0.0" "elm/random": "1.0.0"
},
"indirect": {
"elm/json": "1.1.3",
"elm/time": "1.0.0",
"elm/url": "1.0.0",
"elm/virtual-dom": "1.0.3"
}
}, },
"indirect": { "test-dependencies": {
"elm/json": "1.1.3", "direct": {
"elm/time": "1.0.0", "elm-explorations/test": "2.0.1"
"elm/url": "1.0.0", },
"elm/virtual-dom": "1.0.3" "indirect": {
"elm/bytes": "1.0.8"
}
} }
},
"test-dependencies": {
"direct": {},
"indirect": {}
}
} }

View File

@ -1,3 +1,5 @@
module Pflichtuebung_01.Pu01 exposing (..)
type alias Day = type alias Day =
Int Int

View File

@ -0,0 +1,10 @@
module Pflichtuebung_01.Pu01Tests exposing (..)
import Expect exposing (Expectation)
import Fuzz exposing (Fuzzer, int, list, string)
import Test exposing (..)
suite : Test
suite =
todo "Implement our first test. See https://package.elm-lang.org/packages/elm-explorations/test/latest for how to do this!"