24 lines
626 B
Markdown
24 lines
626 B
Markdown
# Clock
|
|
|
|
Implement a clock that handles times without dates.
|
|
|
|
Create a clock that is independent of date.
|
|
|
|
You should be able to add and subtract minutes to it.
|
|
|
|
Two clocks that represent the same time should be equal to each other.
|
|
|
|
To run the tests simply run the command `go test` in the exercise directory.
|
|
|
|
If the test suite contains benchmarks, you can run these with the `-bench`
|
|
flag:
|
|
|
|
go test -bench .
|
|
|
|
For more detailed info about the Go track see the [help
|
|
page](http://help.exercism.io/getting-started-with-go.html).
|
|
|
|
## Source
|
|
|
|
Pairing session with Erin Drummond [view source](https://twitter.com/ebdrummond)
|