a couple of handy parts for unit testing.
authorChris Koeritz <fred@gruntose.com>
Sat, 8 Oct 2016 22:04:53 +0000 (18:04 -0400)
committerChris Koeritz <fred@gruntose.com>
Sat, 8 Oct 2016 22:04:53 +0000 (18:04 -0400)
commit9dac782c34da57b401a7513c01381c24cb8f0fef
treeebd44bf3b2b84a0fb5faa05a1d4c7048cca7f5c6
parentec7d25e230adb7ae5274013561399a7ac55c4616
a couple of handy parts for unit testing.

verify_correct_input reports if the input sent to it differs from an answer file.

run_test_and_verify runs a test app (providing it with a known input file), gathers the test's output, then verifies that the output is what was expected in an answer file (leverages verify_correct_input).
scripts/unit_test/run_test_and_verify.sh [new file with mode: 0644]
scripts/unit_test/verify_correct_input.sh [new file with mode: 0644]