Armstrong Numbers implementations
with different programming languages.
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.
mvn exec:java -Dexec.mainClass="info.lotharschulz.App"mvn [clean] testsbt "run-main info.lotharschulz.App"sbt [clean] test~ ;clean ;test # triggered clean testspython armstrong/armstrong.pycd test
python test_armstrong.pylein runlein testprerequsite: lein-midje plugin installed
lein midje :autotesttsc armstrong.ts && node armstrong.jsyarn testyarn lint
yarn lint:ci./gradlew run./gradlew test./gradlew ktlintCheck./gradlew detekt# installation - pip3 install mobsfscan
mobsfscan src/go run armstrong.gogo test
go test -v --bench . --benchmemgofmt -w armstrong.go
gofmt -w armstrong_test.gocargo runcargo test