This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns euler001.euler) | |
(defn- zerorem? | |
[numer denom] | |
(= 0 (rem numer denom))) | |
(defn divis? | |
[a] | |
(or | |
(zerorem? a 3) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Setup | |
SUT=../system_under_test.sh | |
INPUT_FILE=sample_input.txt | |
EXPECTED_OUTPUT_FILE=expected_output.txt | |
EXPECTED_STATUS_CODE=0 | |
# The test | |
testStatusCodeAndResponse() |
NewerOlder