#! /bin/bash main() { for t in $(grep ^test_* ./notea_test.sh | sed 's/(.*//'); do each echo run $t >&2 if ! eval "$t"; then echo failed $t >&2 fi done } each() { export CACHE=$(mktemp -d) source ./notea.sh source ./cache.sh } test_ids() { notea eval "$(cat <