Add part10 with passing tests

This commit is contained in:
Richard Feldman
2016-09-04 16:42:08 -07:00
parent d7d8184b46
commit 073bd8c93a
14 changed files with 490 additions and 0 deletions

42
part10/README.md Normal file
View File

@@ -0,0 +1,42 @@
Part 9
======
## Installation
```bash
elm-package install
```
(Answer `y` when prompted.)
## Building
```bash
elm-live Main.elm --open --pushstate --output=elm.js
```
## Running Tests
Do either (or both!) of the following:
#### Running tests on the command line
```bash
elm-test
```
#### Running tests in a browser
```bash
cd tests
elm-reactor
```
Then visit [localhost:8000](http://localhost:8000) and choose `HtmlRunner.elm`.
## References
* [Using Elm packages](https://github.com/elm-lang/elm-package/blob/master/README.md#basic-usage)
* [elm-test documentation](http://package.elm-lang.org/packages/elm-community/elm-test/latest)
* [`(<|)` documentation](http://package.elm-lang.org/packages/elm-lang/core/latest/Basics#<|)