#!/bin/bash
set -e
export PYTHONPATH=.
modes=(MultiNocap MultiCap SingleCap SingleNocap)
for m in ${modes[@]}; do
ERC20_DEMURRAGE_TOKEN_TEST_MODE=$m python tests/test_period.py
ERC20_DEMURRAGE_TOKEN_TEST_MODE=$m python tests/test_basic.py
done
modes=(MultiCap SingleCap)
ERC20_DEMURRAGE_TOKEN_TEST_MODE=$m python tests/test_cap.py
modes=(SingleCap SingleNocap)
ERC20_DEMURRAGE_TOKEN_TEST_MODE=$m python tests/test_single.py
modes=(MultiCap MultiNocap)
ERC20_DEMURRAGE_TOKEN_TEST_MODE=$m python tests/test_pure.py
ERC20_DEMURRAGE_TOKEN_TEST_MODE=$m python tests/test_redistribution.py
set +e