Java Clojure Scala Python Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
clojure
java
python
scala
.gitignore
.travis.yml
README.md
test.sh

README.md

Armstrong Numbers implementations

using different programming languages.

Build Status

Why?

This repo are coding finger exercises with different languages using narcissistic/armstrong numbers. It is mainly about getting familiar with the different languages. You can also discover language similarities and differences based on the use case.

java

run

mvn exec:java -Dexec.mainClass="info.lotharschulz.App"

test

mvn [clean] test

scala

run

sbt "run-main info.lotharschulz.App"

test

sbt [clean] test
triggered clean tests
~ ;clean ;test # triggered clean tests

python

run

python armstrong/armstrong.py

test

cd test
python test_armstrong.py

clojure

run

lein run

test

lein test
triggered test

prerequsite: lein-midje plugin installed

lein midje :autotest