https://github.com/kenych/berlin-clock
Java implementation of Berlin Clock
https://github.com/kenych/berlin-clock
berlin-clock---mengenlehreuhr java java8
Last synced: 2 days ago
JSON representation
Java implementation of Berlin Clock
- Host: GitHub
- URL: https://github.com/kenych/berlin-clock
- Owner: kenych
- Created: 2017-03-03T16:43:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-10T15:04:19.000Z (about 8 years ago)
- Last Synced: 2025-10-25T08:39:33.923Z (5 months ago)
- Topics: berlin-clock---mengenlehreuhr, java, java8
- Language: Java
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 43
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Java implementation of http://agilekatas.co.uk/katas/BerlinClock-Kata
Please make sure you have java 8 installed.
To quickly test functionality please refer to BerlinClockTest class.
It uses TestHelper class's TEST_CASE_POOL array with multiple test cases,
so you may add more cases if you would like.
There is also load test in BerlinClockLoadTest class which tests
BerlinClockImpl.displayTime method under concurrent load.
It creates 100 threads, waits until all threads are submitted,
then runs them concurrently and saves expectedOutput and actualOutput
in a tuple. Once all threads has finished, it then asserts that all
result are correct by going through the list returned by each thread.
Have fun.
K.A