theanalyst / solve-euler

yet another repo for solving project euler problems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solve Euler

[Build Status] (https://travis-ci.org/theanalyst/solve-euler)

An attempt to solve project euler in various languages, learning them in the process. (Starting with python)

Test Setup

Solutions are also tested in travis with expected values in solutions.txt. Though Travis doesn't support multilanguage builds, and since python is installed in Travis environments by default, a haskell environment with some pip packages are used to test a multi c++-Go-python-hy-haskell environment. Checkout travis.yml for the gory details on how this is done.

Tests in python and Hy currently call the solution method for each problem and compare against the values, the Haskell tests are a hack atm currently printing all the values from Euler binary and comparing them (externally) againstthe expected solutions.txt

About

yet another repo for solving project euler problems


Languages

Language:Haskell 33.5%Language:Go 32.8%Language:Python 15.7%Language:Hy 12.2%Language:C++ 3.2%Language:Makefile 1.9%Language:C 0.7%